• E
    snapshot: add API for filtering by leaves · 8b6d1a20
    Eric Blake 提交于
    Counterpart to --roots.
    
    * include/libvirt/libvirt.h.in (VIR_DOMAIN_SNAPSHOT_LIST_LEAVES):
    New flag.
    * src/libvirt.c (virDomainSnapshotNum, virDomainSnapshotListNames)
    (virDomainSnapshotNumChildren)
    (virDomainSnapshotListChildrenNames): Document it.
    * tools/virsh.c (cmdSnapshotList): Expose it.
    * tools/virsh.pod (snapshot-list): Document --leaves.
    8b6d1a20
virsh.c 476.0 KB