[pve-devel] [PATCH 2/2] add enable-kvm and qmp stdio to kvm cmd for qemu.git 1.3

Stefan Priebe s.priebe at profihost.ag
Wed Nov 21 09:08:18 CET 2012


---
 PVE/QemuServer.pm |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 7a11e82..7d4a1a1 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2155,6 +2155,10 @@ sub config_to_command {
 
     push @$cmd, '-daemonize';
 
+    push @$cmd, '-enable-kvm';
+
+    push @$cmd, '-qmp', "stdio";
+
     my $use_usb2 = 0;
     for (my $i = 0; $i < $MAX_USB_DEVICES; $i++)  {
 	next if !$conf->{"usb$i"};
-- 
1.7.10.4




More information about the pve-devel mailing list