qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] RUN_STATE_POSTMIGRATE can be transited from RUN


From: Wen Congyang
Subject: Re: [Qemu-devel] [PATCH] RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED
Date: Tue, 18 Oct 2011 23:17:28 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/18/2011 08:35 PM, Luiz Capitulino wrote:
On Tue, 18 Oct 2011 12:47:27 +0800
Wen Congyang<address@hidden>  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<address@hidden>

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]