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 <firstname.lastname@example.org>
Reviewed-by: Eric Blake <email@example.com>
Signed-off-by: Paolo Bonzini <firstname.lastname@example.org>
2 files changed