[libvirt] [PATCHv3 02/43] snapshot: improve reverting to qemu paused snapshots
Daniel P. Berrange
berrange at redhat.com
Wed Aug 24 16:05:33 UTC 2011
On Wed, Aug 24, 2011 at 09:22:19AM -0600, Eric Blake wrote:
> If you take a checkpoint snapshot of a running domain, then pause
> qemu, then restore the snapshot, the result should be a running
> domain, but the code was leaving things paused. Furthermore, if
> you take a checkpoint of a paused domain, then run, then restore,
> there was a brief but non-deterministic window of time where the
> domain was running rather than paused. Fix both of these
> discrepancies by always pausing before restoring.
>
> Also, check that the VM is active every time lock is dropped
> between two monitor calls.
>
> * src/qemu/qemu_driver.c (qemuDomainRevertToSnapshot): Always
> pause before reversion.
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list