summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/xorg-vgpu.conf
blob: 4d4c07d2e9e98bf45b8089b1690f6173f01957fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Minimal Xorg config for the emulated vGPU (nvidia driver), headless.
# AllowEmptyInitialConfiguration lets the X server start with no connected
# display; UseDisplayDevice "None" keeps the server from demanding one.
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Option         "AllowEmptyInitialConfiguration" "True"
    Option         "UseDisplayDevice" "None"
    Option         "ConnectToAcpid" "False"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24
        Virtual    1280 720
    EndSubSection
EndSection

Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AutoEnableDevices" "False"
EndSection