[pve-devel] [PATCH 04/14] convert stop monitor command to qmp

Alexandre Derumier aderumier at odiso.com
Tue Jun 26 06:34:13 CEST 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index b41f1f6..0c90e94 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3070,8 +3070,8 @@ sub vm_suspend {
 	my $conf = load_config($vmid);
 
 	check_lock($conf) if !$skiplock;
-
-	vm_monitor_command($vmid, "stop");
+	
+	vm_mon_cmd($vmid, "stop");
     });
 }
 
-- 
1.7.2.5




More information about the pve-devel mailing list