[libvirt] [PATCH 4/4] snapshot: implement new filter sets

Peter Krempa pkrempa at redhat.com
Wed Nov 14 00:24:11 UTC 2012


On 11/13/12 20:09, Eric Blake wrote:
> Relatively straight-forward.  And since qemu was already using
> VIR_DOMAIN_SNAPSHOT_FILTERS_ALL, with 6 different APIs all calling
> into this common code, I've instantly added all 5 flags to 6 APIs.
>
> * src/conf/snapshot_conf.h (VIR_DOMAIN_SNAPSHOT_FILTERS_ALL):
> Enable new filters.
> * src/conf/snapshot_conf.c (virDomainSnapshotObjListGetNames):
> Prep the new flags.
> (virDomainSnapshotObjListCopyNames): Actually do the filtering.
> ---
>   src/conf/snapshot_conf.c | 30 ++++++++++++++++++++++++++++--
>   src/conf/snapshot_conf.h |  4 +++-
>   2 files changed, 31 insertions(+), 3 deletions(-)
>

ACK.

Peter




More information about the libvir-list mailing list