• E
    snapshot: virsh snapshot-list and children · fe383bb5
    Eric Blake 提交于
    Sometimes, we only care about one branch of the snapshot hierarchy.
    Make it easier to list a single branch, by using the new APIs.
    
    Technically, I could emulate these new virsh options on old servers
    by doing a complete dump, then scraping xml to filter out just the
    snapshots that I care about, but I didn't want to do that in this patch.
    
    * tools/virsh.c (cmdSnapshotList): Add --from, --descendants.
    * tools/virsh.pod (snapshot-list): Document them.
    fe383bb5
virsh.c 471.5 KB