• E
    snapshot: new virsh function factored from snapshot-list · 76d397b0
    Eric Blake 提交于
    This patch is based on the fallback code out of cmdSnapshotList,
    with tweaks to keep the snapshot objects around rather than just
    their name, and to remove unwanted elements before returning.
    It looks forward to a future patch when we add a way to list all
    snapshot objects at once, and the next patch will simplify
    cmdSnapshotList to take advantage of this factorization.
    
    * tools/virsh.c (vshSnapshotList, vshSnapshotListFree): New functions.
    76d397b0
virsh.c 604.7 KB