]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: expose halt-after-creation in virsh
authorEric Blake <eblake@redhat.com>
Thu, 18 Aug 2011 14:37:26 +0000 (08:37 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 5 Sep 2011 13:03:04 +0000 (07:03 -0600)
commita891ffa446283fc16f6eb7195ccf364c3bae3e19
tree230f88ce39767d0bb4399f293fba4feb7e5c8a53
parent6f66423e1734120fc42339d5733e492b7d24d66e
snapshot: expose halt-after-creation in virsh

Easy enough to emulate even with older servers.

* tools/virsh.c (cmdSnapshotCreate, cmdSnapshotCreateAs): Add
--halt flag.
(vshSnapshotCreate): Emulate halt when flag is unsupported.
* tools/virsh.pod (snapshot-create, snapshot-create-as): Document
it.
tools/virsh.c
tools/virsh.pod