[pve-devel] [PATCH 4/6] add qemu_snapshot_end

Alexandre Derumier aderumier at odiso.com
Wed Sep 5 13:26:03 CEST 2012


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

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 60be25a..bcd045e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2776,6 +2776,13 @@ sub qemu_snapshot_start {
 
 }
 
+sub qemu_snapshot_end {
+    my ($vmid) = @_;
+
+    vm_mon_cmd($vmid, "snapshot-end");
+
+}
+
 sub vm_start {
     my ($storecfg, $vmid, $statefile, $skiplock, $migratedfrom) = @_;
 
-- 
1.7.2.5




More information about the pve-devel mailing list