]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuServer.pm
don't use cirrus by default for sane OS'
[qemu-server.git] / 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)