From: Paolo Bonzini Date: Tue, 3 Dec 2013 12:00:15 +0000 (+0100) Subject: vl: add missing transition debug->finish_migrate X-Git-Tag: v1.7.1~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50a203c3b926466c59f122943804c6bc36256848;p=thirdparty%2Fqemu.git vl: add missing transition debug->finish_migrate This fixes an abort if you invoke the "migrate" command while the guest is being debugged. Cc: qemu-stable@nongnu.org Cc: lcapitulino@redhat.com Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino (cherry picked from commit eca01d3a93be4041ac5858ef7676e60352e9c2ed) Signed-off-by: Michael Roth --- diff --git a/vl.c b/vl.c index 8d5d874e685..31e3411cb14 100644 --- a/vl.c +++ b/vl.c @@ -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 },