[pve-devel] [PATCH qemu-server] don't use cirrus by default for sane OS'

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jun 28 10:48:03 CEST 2017


(It can stay for $winversion < 6 because then you probably
don't have drivers for anything else.)

this is long overdue
---
(If you run something ancient like centos 4 or older you might have to
explicitly set the display setting to something other than std now...)

 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1a4860e..79a65ee 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2925,7 +2925,7 @@ sub config_to_command {
     $vga = 'qxl' if $qxlnum;
 
     if (!$vga) {
-	$vga = $winversion >= 6 ? 'std' : 'cirrus';
+	$vga = (!$winversion || $winversion >= 6) ? 'std' : 'cirrus';
     }
 
     # enable absolute mouse coordinates (needed by vnc)
-- 
2.11.0





More information about the pve-devel mailing list