]> git.proxmox.com Git - qemu-server.git/blobdiff - qm
add qm snapshot command
[qemu-server.git] / qm
diff --git a/qm b/qm
index 5e56eb9548233817af2eae2af71ecf007bcd2fe0..e4fb361049dddd2c526a84058b0a254183f65e75 100755 (executable)
--- a/qm
+++ b/qm
@@ -433,6 +433,8 @@ my $cmddef = {
        
     showcmd => [ __PACKAGE__, 'showcmd', ['vmid']],
 
+    snapshot => [ "PVE::API2::Qemu", 'snapshot_vm', ['vmid', 'action', 'snapname'], { node => $nodename } ],
+
     status => [ __PACKAGE__, 'status', ['vmid']],
 
     start => [ "PVE::API2::Qemu", 'vm_start', ['vmid'], { node => $nodename } , $upid_exit ],