[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/12] runstate: migration allows more transitions n
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 02/12] runstate: migration allows more transitions now |
Date: |
Wed, 1 Jul 2015 10:51:23 +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..d4d9ca8 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_WHATCHDOG },
+ { 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
- [Qemu-devel] [PATCH v2 00/12] Migration events + optional sections, Juan Quintela, 2015/07/01
- [Qemu-devel] [PATCH 01/12] runstate: Add runstate store, Juan Quintela, 2015/07/01
- [Qemu-devel] [PATCH 02/12] runstate: migration allows more transitions now,
Juan Quintela <=
- [Qemu-devel] [PATCH 03/12] migration: create new section to store global state, Juan Quintela, 2015/07/01
- [Qemu-devel] [PATCH 04/12] global_state: Make section optional, Juan Quintela, 2015/07/01
- [Qemu-devel] [PATCH 05/12] vmstate: Create optional sections, Juan Quintela, 2015/07/01
- [Qemu-devel] [PATCH 06/12] migration: Add configuration section, Juan Quintela, 2015/07/01