]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: implement new APIs for qemu
authorEric Blake <eblake@redhat.com>
Fri, 25 May 2012 02:28:54 +0000 (20:28 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 11 Jun 2012 21:23:02 +0000 (15:23 -0600)
commite3559a6e666d10432053e33e64fb0051a807c77d
tree10a11372e3a91bf8f3c84c7a99f553020bf4c541
parent549741ee44c9d3dcaf0231d2f09838f46ac1d74d
snapshot: implement new APIs for qemu

The two APIs are rather trivial; based on bits and pieces of other
existing APIs.  It leaves the door open for future extension to
qemu to report snapshots without metadata based on reading qcow2
internal snapshot names.

* src/qemu/qemu_driver.c (qemuDomainSnapshotIsCurrent)
(qemuDomainSnapshotHasMetadata): New functions.
src/qemu/qemu_driver.c