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

Alexandre Derumier aderumier at odiso.com
Thu Sep 6 10:33:37 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