]> git.proxmox.com Git - qemu-server.git/commitdiff
don't use cirrus by default for sane OS'
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 28 Jun 2017 08:48:03 +0000 (10:48 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Jun 2017 10:07:16 +0000 (12:07 +0200)
(It can stay for $winversion < 6 because then you probably
don't have drivers for anything else.)

this is long overdue

PVE/QemuServer.pm

index 1a4860e45a95b6c68a12b89940742f35abedc298..79a65eeead5633046be34fdc3ce2f47c71e7e94a 100644 (file)
@@ -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)