Message ID | 1386072015-1543-1-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
On Tue, 3 Dec 2013 13:00:15 +0100 Paolo Bonzini <pbonzini@redhat.com> wrote: > 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 <pbonzini@redhat.com> Applied to the qmp branch, thanks. > --- > vl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/vl.c b/vl.c > index 8d5d874..31e3411 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 },
diff --git a/vl.c b/vl.c index 8d5d874..31e3411 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 },
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 <pbonzini@redhat.com> --- vl.c | 1 + 1 file changed, 1 insertion(+)