From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60Jj-0000VW-DA for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:24:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R60Ji-00055c-Cc for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:24:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60Ji-00055T-45 for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:24:54 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8KDOr0h009206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Sep 2011 09:24:53 -0400 From: Juan Quintela Date: Tue, 20 Sep 2011 15:24:39 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/7] Handle errors during migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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