From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDCuH-0008A7-5J for qemu-devel@nongnu.org; Wed, 15 Jun 2016 11:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDCuF-00011X-1D for qemu-devel@nongnu.org; Wed, 15 Jun 2016 11:39:04 -0400 References: <20160615095831.h3da5z7jm3xmwtog@eukaryote> <786ed869-7737-4e95-4489-7acf54dad9c6@redhat.com> From: Eric Blake Message-ID: <57617690.4070401@redhat.com> Date: Wed, 15 Jun 2016 09:38:56 -0600 MIME-Version: 1.0 In-Reply-To: <786ed869-7737-4e95-4489-7acf54dad9c6@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7US1v4qnfOLw14SRubxowMql63n2VQU9u" Subject: Re: [Qemu-devel] Supplying QCOW2 as 'file' driver to `blockdev-add` results in a QEMU crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , Kashyap Chamarthy , qemu-devel@nongnu.org Cc: armbru@redhat.com, qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7US1v4qnfOLw14SRubxowMql63n2VQU9u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/15/2016 09:17 AM, Max Reitz wrote: > On 15.06.2016 11:58, Kashyap Chamarthy wrote: >> Seems like supplying "qcow2" file BlockdevDriver option to QMP >> `blockdev-add` results in a SIGSEGV: >> >> [...] >> Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation f= ault. >> 0x0000555555a0121f in visit_type_BlockdevRef () >> [...] >> >> Reproducer >> ---------- >=20 > Even simpler reproducer: >=20 > {'execute':'blockdev-add','arguments':{'options':{'driver':'raw'}}} >=20 > Seems like a QAPI problem to me, and bisecting yields > dbf11922622685934bfb41e7cf2be9bd4a0405c0 as the culprit. I'm looking into it. Thanks for the testcase. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --7US1v4qnfOLw14SRubxowMql63n2VQU9u 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/ iQEcBAEBCAAGBQJXYXaQAAoJEKeha0olJ0NqtnkH/jO+Aez972vvTnYE48xczPri eNCKNTpisICvLNGzUkr5mzj4lc8Er0a9BjlcleTxqYuBHKz8+lJpHcl315Ef/LRp 7LOzfq6vQvIjERvmJeOQQlTwq/xWUdH4g88clbenqv86pB6yIPMsw8SS2byhych9 bxkJxmUVt0gsCvONreZ7V3Mp269uUf6GmL9b2kTygUpTaH+JwETbWV7RKZOH0Iw/ xWHkqjf+wzJ3qZOLhyNYZp/L1SKpeTKWVNR1yoJ8dmX62M9R4l7iFAtsBHHmcwmy Gru+A8dCGTHTwx3SQswFmCik1fLZ0aytnDCKdVvx1qd5+gINXFiujtftlNCKbKE= =EhRs -----END PGP SIGNATURE----- --7US1v4qnfOLw14SRubxowMql63n2VQU9u--