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