Re: libvirt external disk-only snapshot will pause the VM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/06/2014 08:36 AM, Yuanzhen Gu wrote:

[please don't top-post on technical lists]

> Thanks very much Eric!  This is exactly what I guessed, I just wondering
> where I could find this piece of code and control the the pause time of
> guest, while the snapshot being taken?  thanks !

Actually, for new enough qemu (one with the 'transaction' QMP command),
or for a guest where only one disk is being snapshotted, there is no
pause required.  See qemuDomainSnapshotCreateDiskActiveExternal in
src/qemu/qemu_driver.c.  When a pause is required, it is only for the
fraction of a second required to issue a followup qemu QMP command to
resume the guest, so there is no need for a knob to control the pause
time (it is as already as fast as possible).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]