On 10/12/2011 08:22 AM, Daniel Veillard wrote:
On Fri, Oct 07, 2011 at 08:37:04PM -0600, Eric Blake wrote:
With the recent refactoring of qemu snapshot relationships, it is now trivial to filter on leaves.
* src/conf/domain_conf.c (virDomainSnapshotObjListCount) (virDomainSnapshotObjListCopyNames): Handle new flag. * src/qemu/qemu_driver.c (qemuDomainSnapshotListNames) (qemuDomainSnapshotNum, qemuDomainSnapshotListChildrenNames) (qemuDomainSnapshotNumChildren): Pass new flag through. --- src/conf/domain_conf.c | 8 ++++++-- src/qemu/qemu_driver.c | 12 ++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-)
ACK,
Thanks; I've pushed 1 and 2. I'll wait to push 3 until Matthias has had a chance to test it on ESX. Which reminds me - I should probably post a series of all my pending snapshot patches. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org