aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-06-08 16:31:24 -0600
committerEric Blake <eblake@redhat.com>2012-06-19 13:50:03 -0600
commit35ae18f3c6f519e65f342d5fc00d2c790833d63d (patch)
tree411e33f403e78505905756ee5ff5c912bad3fa39 /python
parentsnapshot: add additional filters when getting lists (diff)
downloadlibvirt-35ae18f3c6f519e65f342d5fc00d2c790833d63d.tar.gz
libvirt-35ae18f3c6f519e65f342d5fc00d2c790833d63d.tar.bz2
libvirt-35ae18f3c6f519e65f342d5fc00d2c790833d63d.zip
snapshot: expose new flags in virsh
Previously, to get the name of all snapshots with children, it was necessary to get the name of all snapshots and then remove the name of leaf snapshots. This is racy, and somewhat inefficient compared to planned API additions. We can emulate --no-metadata on 0.9.5-0.9.12, but for now, there is no emulation of --no-leaves. * tools/virsh.c (cmdSnapshotList): Add new options --no-leaves and --no-metadata. (vshSnapshotList): Emulate where possible. * tools/virsh.pod (snapshot-list): Document them.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions