]> git.proxmox.com Git - qemu-server.git/commitdiff
vga: allow 'none'
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 6 Dec 2018 09:17:26 +0000 (10:17 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 11 Dec 2018 08:56:50 +0000 (09:56 +0100)
so that one can explicitly disable the vga without having to specify
a serial port as display, this is mostly useful for very special
and custom gpu passthrough setups which have to be specified with
'args' and for setups which do not care about any display (not even serial)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm

index 94824bd46bc04552b7894d62b0f9910473f7a302..70be5db5b0a254c097609ea09a8f17fb8d47e95d 100644 (file)
@@ -237,7 +237,7 @@ my $vga_fmt = {
        default => 'std',
        optional => 1,
        default_key => 1,
        default => 'std',
        optional => 1,
        default_key => 1,
-       enum => [qw(cirrus qxl qxl2 qxl3 qxl4 serial0 serial1 serial2 serial3 std virtio vmware)],
+       enum => [qw(cirrus qxl qxl2 qxl3 qxl4 none serial0 serial1 serial2 serial3 std virtio vmware)],
     },
     memory => {
        description => "Sets the VGA memory (in MiB). Has no effect with serial display.",
     },
     memory => {
        description => "Sets the VGA memory (in MiB). Has no effect with serial display.",