[libvirt] [PATCHv2 07/13] snapshot: expose new flags in virsh
Peter Krempa
pkrempa at redhat.com
Mon Jun 18 12:06:23 UTC 2012
On 06/15/12 06:18, Eric Blake wrote:
> 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.
> ---
ACK.
Peter
More information about the libvir-list
mailing list