[libvirt] [PATCH 2/3] snapshot: implement LIST_LEAVES flag in qemu

Eric Blake eblake at redhat.com
Wed Oct 12 22:10:54 UTC 2011


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list