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

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