]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: exit qemu on guest panic if -no-shutdown is not set
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 18 Oct 2016 07:29:54 +0000 (09:29 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Nov 2016 08:28:56 +0000 (09:28 +0100)
commit864111f422babcf8ce837fb47f7f9e1948446f22
tree954c396ba91f3ea990ebc0c96ad0f9a2a5d418f1
parent000980cb8307afe0578368cee8f31018905bb036
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 <borntraeger@de.ibm.com>
Message-Id: <1476775794-108012-1-git-send-email-borntraeger@de.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qapi-schema.json
vl.c