live migration: Allow cleanup after cancellation or error
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 30 Nov 2009 17:21:21 +0000 (18:21 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 16:48:53 +0000 (10:48 -0600)
commit4ec7fcc7da214d48d39b63fd2c6a4d19ac42ae04
tree5bb2081c5fbf6349a8241e715a0cece055105e72
parent9a743e5ba32f7a620baa0b3d3808e88d2433e861
live migration: Allow cleanup after cancellation or error

Introduce qemu_savevm_state_cancel and inject a stage -1 to cancel a
live migration. This gives the involved subsystems a chance to clean up
dynamically allocated resources. Namely, the block migration layer can
now free its device descriptors and pending blocks.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block-migration.c
migration.c
savevm.c
sysemu.h
vl.c