[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] runstate: Allow to transition from paused to po
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 3/5] runstate: Allow to transition from paused to postmigrate |
Date: |
Fri, 14 Oct 2011 14:26:41 -0300 |
The user may already have paused the VM before starting the
migration process. If s/he does that, then the state will be
'paused' when we finish the migration process. In that case
we want to transition from 'paused' to 'postmigrate' as the
latter is now the real reason why the VM is stopped.
Signed-off-by: Luiz Capitulino <address@hidden>
---
vl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 6645720..2e991fc 100644
--- a/vl.c
+++ b/vl.c
@@ -343,6 +343,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 },
--
1.7.7.rc3
- [Qemu-devel] [PULL 0/5]: QMP queue, Luiz Capitulino, 2011/10/14
- [Qemu-devel] [PATCH 1/5] QMP: Fix blockdev-snapshot-sync doc example, Luiz Capitulino, 2011/10/14
- [Qemu-devel] [PATCH 2/5] runstate: Print state transition when invalid, Luiz Capitulino, 2011/10/14
- [Qemu-devel] [PATCH 3/5] runstate: Allow to transition from paused to postmigrate,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 4/5] savevm: qemu_savevm_state(): Drop stop VM logic, Luiz Capitulino, 2011/10/14
- [Qemu-devel] [PATCH 5/5] runstate: Allow user to migrate twice, Luiz Capitulino, 2011/10/14
- Re: [Qemu-devel] [PULL 0/5]: QMP queue, Anthony Liguori, 2011/10/20