From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5IHn-0007gp-BS for qemu-devel@nongnu.org; Wed, 17 Jun 2015 14:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5IHj-00082H-VP for qemu-devel@nongnu.org; Wed, 17 Jun 2015 14:42:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5IHj-00081y-Pe for qemu-devel@nongnu.org; Wed, 17 Jun 2015 14:42:03 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 49FF5379E45 for ; Wed, 17 Jun 2015 18:42:03 +0000 (UTC) Date: Wed, 17 Jun 2015 19:41:59 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150617184158.GS2122@work-vm> References: <1434505833-11234-1-git-send-email-quintela@redhat.com> <1434505833-11234-3-git-send-email-quintela@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434505833-11234-3-git-send-email-quintela@redhat.com> Subject: Re: [Qemu-devel] [PATCH 02/11] runstate: migration allows more transitions now List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: amit.shah@redhat.com, qemu-devel@nongnu.org * Juan Quintela (quintela@redhat.com) wrote: > 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 Reviewed-by: Dr. David Alan Gilbert > --- > 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 > > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK