• E
    virsh: add virsh snapshot-current --name · 23b4a3f9
    Eric Blake 提交于
    Sometimes, full XML is too much; since most snapshot commands
    operate on a snapshot name, there should be an easy way to get
    at the current snapshot's name.  For example:
    
    virsh snapshot-revert dom `virsh snapshot-current dom --name`
    
    * tools/virsh.c (cmdSnapshotCurrent): Add an option.
    * tools/virsh.pod (snapshot-current): Document it.
    23b4a3f9
virsh.c 425.9 KB