From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8to-0000oF-Gi for qemu-devel@nongnu.org; Tue, 18 Oct 2011 08:36:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG8tf-0005FL-2V for qemu-devel@nongnu.org; Tue, 18 Oct 2011 08:36:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8te-0005F4-O9 for qemu-devel@nongnu.org; Tue, 18 Oct 2011 08:35:55 -0400 Date: Tue, 18 Oct 2011 10:35:48 -0200 From: Luiz Capitulino Message-ID: <20111018103548.1d756e6c@doriath> In-Reply-To: <4E9D04DF.1060401@cn.fujitsu.com> References: <4E9D04DF.1060401@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang Cc: qemu-devel On Tue, 18 Oct 2011 12:47:27 +0800 Wen Congyang wrote: > The user can run command stop before migration. So the guest's RUN_STATE > can be transisted from RUN_STATE_PAUSED to RUN_STATE_POSTMIGRATE. > > Signed-off-by: Wen Congyang I've already submitted a pull request with the exact same patch included. Thanks. > > --- > vl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/vl.c b/vl.c > index 2dce3ae..efae19c 100644 > --- a/vl.c > +++ b/vl.c > @@ -341,6 +341,7 @@ static const RunStateTransition runstate_transitions_def[] = { > { RUN_STATE_IO_ERROR, RUN_STATE_RUNNING }, > > { RUN_STATE_PAUSED, RUN_STATE_RUNNING }, > + { RUN_STATE_PAUSED, RUN_STATE_POSTMIGRATE }, > > { RUN_STATE_POSTMIGRATE, RUN_STATE_RUNNING }, >