qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Wen Congyang <wency@cn.fujitsu.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED
Date: Tue, 18 Oct 2011 10:35:48 -0200	[thread overview]
Message-ID: <20111018103548.1d756e6c@doriath> (raw)
In-Reply-To: <4E9D04DF.1060401@cn.fujitsu.com>

On Tue, 18 Oct 2011 12:47:27 +0800
Wen Congyang <wency@cn.fujitsu.com> 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 <wency@cn.fujitsu.com>

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 },
>  

  reply	other threads:[~2011-10-18 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18  4:47 [Qemu-devel] [PATCH] RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED Wen Congyang
2011-10-18 12:35 ` Luiz Capitulino [this message]
2011-10-18 15:17   ` Wen Congyang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111018103548.1d756e6c@doriath \
    --to=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wency@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).