[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 14/28] runstate: migration allows more transitions no
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now |
Date: |
Tue, 7 Jul 2015 15:08:55 +0200 |
Next commit would allow to move from incoming migration to error happening on
source.
Should we add more states to this transition? Luiz?
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
---
vl.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vl.c b/vl.c
index fec7e93..19a8737 100644
--- a/vl.c
+++ b/vl.c
@@ -573,8 +573,14 @@ static const RunStateTransition runstate_transitions_def[]
= {
{ RUN_STATE_DEBUG, RUN_STATE_RUNNING },
{ RUN_STATE_DEBUG, RUN_STATE_FINISH_MIGRATE },
- { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
+ { RUN_STATE_INMIGRATE, RUN_STATE_INTERNAL_ERROR },
+ { RUN_STATE_INMIGRATE, RUN_STATE_IO_ERROR },
{ RUN_STATE_INMIGRATE, RUN_STATE_PAUSED },
+ { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
+ { RUN_STATE_INMIGRATE, RUN_STATE_SHUTDOWN },
+ { RUN_STATE_INMIGRATE, RUN_STATE_SUSPENDED },
+ { RUN_STATE_INMIGRATE, RUN_STATE_WATCHDOG },
+ { RUN_STATE_INMIGRATE, RUN_STATE_GUEST_PANICKED },
{ RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED },
{ RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },
--
2.4.3
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, (continued)
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Juan Quintela, 2015/07/08
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Juan Quintela, 2015/07/08
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Christian Borntraeger, 2015/07/08
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Juan Quintela, 2015/07/08
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Christian Borntraeger, 2015/07/08
- Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state, Juan Quintela, 2015/07/08
[Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now,
Juan Quintela <=
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, zhanghailiang, 2015/07/08
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, Juan Quintela, 2015/07/08
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, zhanghailiang, 2015/07/08
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, Wen Congyang, 2015/07/08
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, Wen Congyang, 2015/07/15
- Re: [Qemu-devel] [PULL 14/28] runstate: migration allows more transitions now, Juan Quintela, 2015/07/15
[Qemu-devel] [PULL 18/28] migration: Add configuration section, Juan Quintela, 2015/07/07
[Qemu-devel] [PULL 17/28] vmstate: Create optional sections, Juan Quintela, 2015/07/07
[Qemu-devel] [PULL 19/28] migration: Use cmpxchg correctly, Juan Quintela, 2015/07/07
[Qemu-devel] [PULL 20/28] migration: ensure we start in NONE state, Juan Quintela, 2015/07/07