RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED
PATCH 1/1 RUN_STATE_POSTMIGRATE can be transited from RUN_STATE_PAUSED
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 <[email protected]>
--- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
vl.c +1 -0
@@ -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 },
Signature · 1 line
1.7.1
Quoted 4 lines · On Tue, 18 Oct 2011 12:47:27 +0800 Wen Congyang <[email protected]> wrote:
The user can run command stop before migration. So the guest's
RUN_STATEcan be transisted fromRUN_STATE_PAUSEDtoRUN_STATE_POSTMIGRATE.Signed-off-by Wen Congyang <[email protected]>
I've already submitted a pull request with the exact same patch included.
Thanks.
Quoted 17 lines
--- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)vl.c +1
-0@@ -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 },
Quoted 9 lines · Luiz Capitulino
Quoted 4 lines · On Tue, 18 Oct 2011 12:47:27 +0800 Wen Congyang<[email protected]> wrote:
The user can run command stop before migration. So the guest's
RUN_STATEcan be transisted fromRUN_STATE_PAUSEDtoRUN_STATE_POSTMIGRATE.Signed-off-by Wen Congyang<[email protected]>I've already submitted a pull request with the exact same patch included.
Sorry, I do not check the qmp tree before sending it.
Quoted 23 lines
Thanks.
Quoted 17 lines
--- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)vl.c +1
-0@@ -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 },