• E
    snapshot: implement LIST_LEAVES flag in qemu · 5cf56c4b
    Eric Blake 提交于
    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.
    5cf56c4b
domain_conf.c 407.8 KB