]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: use new API for less work
authorEric Blake <eblake@redhat.com>
Thu, 8 Sep 2011 12:16:57 +0000 (13:16 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 8 Sep 2011 13:25:30 +0000 (14:25 +0100)
commita00c37f2f9e9ee1ac3471e39a421addedda73b72
tree9e3a15ed176195b155c5f4cf3a335b0808f3879d
parent6c14439e51ff51492263f46c803d3e8df167c240
snapshot: use new API for less work

This has the added benefit of making 'snapshot-create dom --no-metadata'
now able to tell you the name of the just-generated snapshot.

* tools/virsh.c (vshSnapshotCreate, cmdSnapshotCurrent): Don't get
XML just for name.
tools/virsh.c