you could try: snapshot-create-as guest guestsnap --disk-only
Thanks.
--Xingxing Gao
2012/6/6 Eric Blake <eblake(a)redhat.com>:
On 06/06/2012 07:05 AM, SimpleCloud wrote:
> Thanks a lot for the details.
>
>
> From
http://wiki.libvirt.org/page/Snapshots, we have to pause the domain before
taking snapshot and resume after.
Actually, you don't have to do it yourself; libvirt takes care of doing
it for you if that's what qemu requires, as part of the libvirt snapshot
comand.
> Is there any way to do "live" snapshotting for running domain or reduce
pause time?
You can do 'disk-only' snapshots instead of system checkpoints, which
are much faster (less than 1 second, while system checkpoints can be
seconds or even minutes long). And I'm also hoping to add code that
will support external system checkpoints by doing a live migration to
file coupled with a disk snapshot, which will hopefully reduce guest
downtime compared to the current mandatory guest downtime of the qemu
'savevm' monitor command, but it may require qemu to implement more
features first.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users