From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGBQd-0000br-VH for qemu-devel@nongnu.org; Tue, 18 Oct 2011 11:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGBQZ-0004nD-BP for qemu-devel@nongnu.org; Tue, 18 Oct 2011 11:18:07 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:50945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGBQZ-0004mt-5w for qemu-devel@nongnu.org; Tue, 18 Oct 2011 11:18:03 -0400 Received: by qyk10 with SMTP id 10so2728982qyk.4 for ; Tue, 18 Oct 2011 08:18:02 -0700 (PDT) Message-ID: <4E9D9888.4070105@gmail.com> Date: Tue, 18 Oct 2011 23:17:28 +0800 From: Wen Congyang MIME-Version: 1.0 References: <4E9D04DF.1060401@cn.fujitsu.com> <20111018103548.1d756e6c@doriath> In-Reply-To: <20111018103548.1d756e6c@doriath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Luiz Capitulino Cc: qemu-devel On 10/18/2011 08:35 PM, Luiz Capitulino wrote: > 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. Sorry, I do not check the qmp tree before sending it. > > 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 }, >> > > >