vl: new runstate transition: RUN_STATE_GUEST_PANICKED -> RUN_STATE_FINISH_MIGRATE
PATCH RESEND 1/1 vl: new runstate transition: RUN_STATE_GUEST_PANICKED -> RUN_STATE_FINISH_MIGRATE
From: Hu Tao <[email protected]>
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 <[email protected]>
Signed-off-by Hu Tao <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- vl.c | 1 + 1 file changed, 1 insertion(+)
vl.c +1 -0
@@ -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 }, };
Signature · 1 line
1.8.1.4
Anthony Liguori
AppliedApplied. Thanks.
Regards,
Anthony Liguori