vl: exit qemu on guest panic if -no-shutdown is not set
For automated testing purposes it can be helpful to exit qemu
(poweroff) when the guest panics. Make this the default unless
-no-shutdown is specified.
For internal-errors like errors from KVM_RUN the behaviour is
not changed, in other words QEMU does not exit to allow debugging
in the QEMU monitor.
Signed-off-by: Christian Borntraeger <email@example.com>
Reviewed-by: Eric Blake <firstname.lastname@example.org>
Signed-off-by: Paolo Bonzini <email@example.com>
2 files changed