Skip to contentSkip to conversation

vl: add missing transition debug->finish_migrate

PATCH Applied Paolo Bonzini 2 participants 2 messages Dec 3, 2013 – Dec 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vl: add missing transition debug->finish_migrate

This fixes an abort if you invoke the "migrate" command while the guest is being debugged.

---
 vl.c | 1 +
 1 file changed, 1 insertion(+)
vl.c +1 -0
index 8d5d874..31e3411 100644
@@ -589,6 +589,7 @@ typedef struct {
 static const RunStateTransition runstate_transitions_def[] = {
     /*     from      ->     to      */
     { RUN_STATE_DEBUG, RUN_STATE_RUNNING },
+    { RUN_STATE_DEBUG, RUN_STATE_FINISH_MIGRATE },
 
     { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
     { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED },
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 6 lines · On Tue, 3 Dec 2013 13:00:15 +0100 Paolo Bonzini <[email protected]> wrote:

This fixes an abort if you invoke the "migrate" command while the guest is being debugged.

Applied to the qmp branch, thanks.

Quoted 16 lines
---
 vl.c | 1 +
 1 file changed, 1 insertion(+)
vl.c +1 -0
index 8d5d874..31e3411 100644
@@ -589,6 +589,7 @@ typedef struct {
 static const RunStateTransition runstate_transitions_def[] = {
     /*     from      ->     to      */
     { RUN_STATE_DEBUG, RUN_STATE_RUNNING },
+    { RUN_STATE_DEBUG, RUN_STATE_FINISH_MIGRATE },
 
     { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
     { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED },