diff options
author | Hu Tao <hutao@cn.fujitsu.com> | 2013-05-20 12:46:20 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-05-20 08:20:07 -0500 |
commit | fd2a2e1c552cb47ca196552457e175c889b58478 (patch) | |
tree | 13eee26c7e77b556ccae49b87dd2ccb269479774 /vl.c | |
parent | 08d0ab3fe6bc9dfb80967a0b7d3109bc9ec7585b (diff) | |
download | qemu-fd2a2e1c552cb47ca196552457e175c889b58478.tar.gz qemu-fd2a2e1c552cb47ca196552457e175c889b58478.tar.bz2 qemu-fd2a2e1c552cb47ca196552457e175c889b58478.zip |
vl: new runstate transition: RUN_STATE_GUEST_PANICKED -> RUN_STATE_FINISH_MIGRATE
This fixes a problem that after guest panic happens, virsh dump without
--memory-only fails:
ERROR: invalid runstate transition: 'guest-panicked' -> 'finish-migrate'
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1369046780-17498-1-git-send-email-pbonzini@redhat.com
Cc: qemu-stable@nongnu.org
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -609,6 +609,7 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_WATCHDOG, RUN_STATE_FINISH_MIGRATE }, { RUN_STATE_GUEST_PANICKED, RUN_STATE_PAUSED }, + { RUN_STATE_GUEST_PANICKED, RUN_STATE_FINISH_MIGRATE }, { RUN_STATE_MAX, RUN_STATE_MAX }, }; |