From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ysw0A-0004nX-Pu for qemu-devel@nongnu.org; Thu, 14 May 2015 12:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ysw09-0006Y3-O0 for qemu-devel@nongnu.org; Thu, 14 May 2015 12:28:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ysw09-0006Xh-G4 for qemu-devel@nongnu.org; Thu, 14 May 2015 12:28:49 -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 t4EGSmnM017121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 14 May 2015 12:28:49 -0400 From: Juan Quintela Date: Thu, 14 May 2015 18:28:36 +0200 Message-Id: <1431620920-19710-6-git-send-email-quintela@redhat.com> In-Reply-To: <1431620920-19710-1-git-send-email-quintela@redhat.com> References: <1431620920-19710-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 5/9] runstate: migration allows more transitions now List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 ea4319d..b8844f6 100644 --- a/vl.c +++ b/vl.c @@ -550,6 +550,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.0