]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: fine-tune qemu snapshot revert states
authorEric Blake <eblake@redhat.com>
Sat, 27 Aug 2011 19:48:19 +0000 (13:48 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Sep 2011 18:33:37 +0000 (12:33 -0600)
commit7dc44eb059fc976e7c88091477a981a4a90bf2f5
tree5d6a87d77c81096c4402f3467576653e487bfcb0
parent25fb3ef1e1b9927c8f31285f4404620317b7f7db
snapshot: fine-tune qemu snapshot revert states

For a system checkpoint of a running or paused domain, it's fairly
easy to honor new flags for altering which state to use after the
revert.  For an inactive snapshot, the revert has to be done while
there is no qemu process, so do back-to-back transitions; this also
lets us revert to inactive snapshots even for transient domains.

* src/qemu/qemu_driver.c (qemuDomainRevertToSnapshot): Support new
flags.
src/qemu/qemu_driver.c