]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: implement new filter sets
authorEric Blake <eblake@redhat.com>
Tue, 13 Nov 2012 18:32:19 +0000 (11:32 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 19 Nov 2012 21:16:51 +0000 (14:16 -0700)
commit62711817db9f16e4e844d6e060ec89ace26fd6d2
tree0faec9ef9b3d705e148c2ed8e0ecfc33bfad1e79
parent1d272e8f2221b29164b8ed858bcb825a23d2ec3d
snapshot: implement new filter sets

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
src/conf/snapshot_conf.h