[libvirt-users] Disk-only internal snapshot

Eric Blake eblake at redhat.com
Wed Oct 24 20:44:43 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121024/dcb464df/attachment.sig>


More information about the libvirt-users mailing list