]> git.proxmox.com Git - pve-qemu-kvm.git/commit
vmstate snapshot : implement cancelled state V2 stable-3.3-fixes
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 21 Nov 2014 09:26:02 +0000 (10:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Jan 2015 15:20:41 +0000 (16:20 +0100)
commit476502bf3d72342c83ed5acd730950674a1e3f4d
treeb0c52dd84621fbd7a20d31fa9a36c8d4a284de86
parent71c4afb5e120a02c38a53f3c50ff15975e18dd2e
vmstate snapshot : implement cancelled state V2

currently, if we cancel a active savevm job with savevm-end,
we don't close the vmstate file.

This implement a new state CANCELLED, which is setup if savevm-end is called
when savevm is ACTIVE

then, in the coroutine, if state CANCELLED is detected,
we call save_snapshot_completed() to properly close the file
then qmp_savevm_end to finish the job

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
debian/patches/internal-snapshot-async.patch