On 10/24/2012 02:27 PM, Davide Guerri wrote:
Hi all,
it's possible to do an internal snapshot with the --disk-only option (for
qcow2 images)?
Not with the current qemu implementation. The qemu folks left room in
the 'blockdev-snapshot-async' monitor command to eventually allow for an
internal snapshot, but haven't wired it up yet. But if they ever do
wire it up, then libvirt is ready to support it.
The following command
virsh snapshot-create-as my-dom my-snap my-description
creates an internal snapshot but the following
Also, be aware that Peter just posted patches to allow for creating an
external snapshot without using --disk-only, with much better response
time than internal snapshots take:
https://www.redhat.com/archives/libvir-list/2012-October/msg01290.html
virsh snapshot-create-as my-dom my-snap my-description --disk-only
creates an external snapshot.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org