]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: reflect new dumpxml and list options in virsh
authorEric Blake <eblake@redhat.com>
Tue, 16 Aug 2011 19:34:22 +0000 (13:34 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Sep 2011 23:07:36 +0000 (17:07 -0600)
commit22a833e789e999736ec59fc468ab27daeb66940c
tree6aa80bef50d93cfae45288a2218c94f0d34b2360
parent9f5e53e2114628beabaa26d543c9e8947db5fa24
snapshot: reflect new dumpxml and list options in virsh

New flag bits are worth exposing via virsh.  In the case of
snapshot-list --roots, it's possible to emulate this even when
talking to an older server that lacks the bit; whereas
--metadata requires a newer server.

Although we don't use --security-info yet, the flag is already
documented for other dumpxml operations, and turning it on now
will make it useful when a future patch actually has to honor it.

* tools/virsh.c (cmdSnapshotDumpXML, cmdSnapshotCurrent): Add
--security-info.
(cmdSnapshotList): Add --roots, --metadata.
* tools/virsh.pod (snapshot-dumpxml, snapshot-current)
(snapshot-list): Document these.
tools/virsh.c
tools/virsh.pod