Hi This patch series contains error handling for migration.
After this series are applied, migrate_cancel after one error don't hang. And we add some error checking left and right. This is the error handling patches that were on the middle of my migration-cleanup of some months ago. migration_cancel fix has been added. Later, Juan. Juan Quintela (5): migration: simplify state assignmente migration: only flush when there are no errors migration: Check that migration is active before cancel it migration: If there is one error, it makes no sense to continue migration: qemu_savevm_iterate has three return values Yoshiaki Tamura (2): savevm: avoid qemu_savevm_state_iterate() to return 1 when qemu file has error. migration: add error handling to migrate_fd_put_notify(). buffered_file.c | 19 +++++++++++-------- buffered_file.h | 2 +- hw/hw.h | 4 ++-- migration-exec.c | 6 +++--- migration-fd.c | 4 ++-- migration-tcp.c | 4 ++-- migration-unix.c | 4 ++-- migration.c | 33 ++++++++++++++++++--------------- migration.h | 4 ++-- savevm.c | 27 +++++++++++++++------------ 10 files changed, 58 insertions(+), 49 deletions(-) -- 1.7.6.2