From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwUPx-0001uK-Fk for qemu-devel@nongnu.org; Tue, 18 Oct 2016 09:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwUPu-0002VY-DK for qemu-devel@nongnu.org; Tue, 18 Oct 2016 09:26:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24087) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwUPu-0002Uz-5s for qemu-devel@nongnu.org; Tue, 18 Oct 2016 09:26:54 -0400 References: <1476775794-108012-1-git-send-email-borntraeger@de.ibm.com> From: Eric Blake Message-ID: <5f434662-8c6b-dfaa-f35d-bebbfd416f7d@redhat.com> Date: Tue, 18 Oct 2016 08:26:52 -0500 MIME-Version: 1.0 In-Reply-To: <1476775794-108012-1-git-send-email-borntraeger@de.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4wsSd57lFUv1DuLqJiJ82wxirwFp688GH" Subject: Re: [Qemu-devel] [PATCH v2] vl: exit qemu on guest panic if -no-shutdown is not set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Paolo Bonzini Cc: qemu-devel@nongnu.org, Markus Armbruster This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4wsSd57lFUv1DuLqJiJ82wxirwFp688GH From: Eric Blake To: Christian Borntraeger , Paolo Bonzini Cc: qemu-devel@nongnu.org, Markus Armbruster Message-ID: <5f434662-8c6b-dfaa-f35d-bebbfd416f7d@redhat.com> Subject: Re: [PATCH v2] vl: exit qemu on guest panic if -no-shutdown is not set References: <1476775794-108012-1-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1476775794-108012-1-git-send-email-borntraeger@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/18/2016 02:29 AM, Christian Borntraeger wrote: > 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. >=20 > 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. >=20 > Signed-off-by: Christian Borntraeger > --- > qapi-schema.json | 4 ++-- > vl.c | 5 +++++ > 2 files changed, 7 insertions(+), 2 deletions(-) Shouldn't hurt libvirt, since that uses -no-shutdown. Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4wsSd57lFUv1DuLqJiJ82wxirwFp688GH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYBiMcAAoJEKeha0olJ0NqpA0H/1Bf6Ca89rgySOn61I/j0WES iU76NbsgWYhwV1AX2gE8lhY9qT0W/le+C45m7R8Yz9N7KvwvTWa1KXOjhoSyc8X+ TdQ4TFTJYOA6SDO+OgaL1UAbEzHpl4q77Nuy3wQJNe6Es4urRcO08SrI7R2CuQOx 824QnPGgkDfyuXCa+cUwSF/edblw1ti2n4jhe1LPC1jkc5gDWnLTXP7WVwx74LS3 WFeoeAUXN9b09cfXpogOq0RpOfbrzI7DpwaKqDERGaxJl7gm0nbiw6WavV5OxyFo c1mz6PTeM6tRg03+FuI0F+UCRJ8khDXRozDo93G8BARJl1vJVuIjl5YcvNXuVl4= =0mTY -----END PGP SIGNATURE----- --4wsSd57lFUv1DuLqJiJ82wxirwFp688GH--