From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R75Do-0005Gj-MQ for qemu-devel@nongnu.org; Fri, 23 Sep 2011 08:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R75Dn-0003IJ-MM for qemu-devel@nongnu.org; Fri, 23 Sep 2011 08:51:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R75Dn-0003I2-FM for qemu-devel@nongnu.org; Fri, 23 Sep 2011 08:51:15 -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 p8NCpD3M017761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 23 Sep 2011 08:51:13 -0400 From: Juan Quintela Date: Fri, 23 Sep 2011 14:50:36 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 00/11] Handle errors during migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi [v2] - dropped migration_flush patch. Substituted by migration: don't write when migration is not active (based on danp suggestion) - we were using wrong "opaque" - merge has_error field (Paolo suggested to handle both) - has_error now contains errno values Later, Juan. [v1] 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 (10): ds1225y: Use stdio instead of QEMUFile migration: simplify state assignmente migration: Check that migration is active before cancel it migration: return real error code migration: If there is one error, it makes no sense to continue buffered_file: Use right "opaque" buffered_file: reuse QEMUFile has_error field migration: don't "write" when migration is not active migration: set error if select return one error migration: change has_error to contain errno values Yoshiaki Tamura (1): migration: add error handling to migrate_fd_put_notify(). arch_init.c | 2 +- block-migration.c | 6 +++--- buffered_file.c | 23 +++++++++++------------ hw/ds1225y.c | 28 ++++++++++++++++------------ hw/hw.h | 2 +- migration.c | 35 ++++++++++++++++++++++------------- savevm.c | 41 +++++++++++++++++++---------------------- 7 files changed, 73 insertions(+), 64 deletions(-) -- 1.7.6.2