From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z52V0-0005Hz-1H for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z52Ux-0004S1-Ji for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z52Ux-0004RP-F9 for qemu-devel@nongnu.org; Tue, 16 Jun 2015 21:50:39 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 03D4C2931E5 for ; Wed, 17 Jun 2015 01:50:39 +0000 (UTC) From: Juan Quintela Date: Wed, 17 Jun 2015 03:50:24 +0200 Message-Id: <1434505833-11234-3-git-send-email-quintela@redhat.com> In-Reply-To: <1434505833-11234-1-git-send-email-quintela@redhat.com> References: <1434505833-11234-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 02/11] runstate: migration allows more transitions now List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com Next commit would allow to move from incoming migration to error happening on source. Should we add more states to this transition? Luiz? Signed-off-by: Juan Quintela --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index c659a00..555fd88 100644 --- a/vl.c +++ b/vl.c @@ -571,6 +571,8 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING }, { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED }, + { RUN_STATE_INMIGRATE, RUN_STATE_INTERNAL_ERROR }, + { RUN_STATE_INMIGRATE, RUN_STATE_IO_ERROR }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE }, -- 2.4.3