[pve-devel] [PATCH qemu-server 2/2] vga: allow 'none'

Dominik Csapak d.csapak at proxmox.com
Thu Dec 6 10:17:26 CET 2018


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 at proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 861ded8..676ab82 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -237,7 +237,7 @@ my $vga_fmt = {
 	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.",
-- 
2.11.0





More information about the pve-devel mailing list