[pve-devel] r6494 - in qemu-server/pve2: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Aug 18 12:31:54 CEST 2011


Author: dietmar
Date: 2011-08-18 12:31:54 +0200 (Thu, 18 Aug 2011)
New Revision: 6494

Modified:
   qemu-server/pve2/ChangeLog
   qemu-server/pve2/PVE/QemuServer.pm
Log:
 alway emit -vga option to kvm


Modified: qemu-server/pve2/ChangeLog
===================================================================
--- qemu-server/pve2/ChangeLog	2011-08-18 08:17:37 UTC (rev 6493)
+++ qemu-server/pve2/ChangeLog	2011-08-18 10:31:54 UTC (rev 6494)
@@ -2,6 +2,8 @@
 
 	* PVE/QemuServer.pm (print_drive_full): enable aio by default.
 	(parse_drive): support aio option for drives.
+	(config_to_command): alway emit -vga option to kvm (else the vm
+	wont boot)
 
 2011-08-17  Proxmox Support Team  <support at proxmox.com>
 

Modified: qemu-server/pve2/PVE/QemuServer.pm
===================================================================
--- qemu-server/pve2/PVE/QemuServer.pm	2011-08-18 08:17:37 UTC (rev 6493)
+++ qemu-server/pve2/PVE/QemuServer.pm	2011-08-18 10:31:54 UTC (rev 6494)
@@ -1940,6 +1940,8 @@
     if (!$vga) {
 	if ($conf->{ostype} && ($conf->{ostype} eq 'win7' || $conf->{ostype} eq 'w2k8')) {
 	    $vga = 'std';
+	} else {
+	    $vga = 'cirrus';
 	}
     }
   




More information about the pve-devel mailing list