From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnaUk-0001YM-DN for qemu-devel@nongnu.org; Thu, 22 May 2014 17:25:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnaUf-0004oE-4a for qemu-devel@nongnu.org; Thu, 22 May 2014 17:25:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnaUe-0004o9-P6 for qemu-devel@nongnu.org; Thu, 22 May 2014 17:25:41 -0400 Message-ID: <537E6B51.306@redhat.com> Date: Thu, 22 May 2014 15:25:37 -0600 From: Eric Blake MIME-Version: 1.0 References: <537E62CE.2050302@beyond.pl> In-Reply-To: <537E62CE.2050302@beyond.pl> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tCkiCeGwcCdp7cm948cNP8XQ0Jt0MxK3x" Subject: Re: [Qemu-devel] qemu 2.0, deadlock in block-commit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TWFyY2luIEdpYnXFgmE=?= , "qemu-devel@nongnu.org" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tCkiCeGwcCdp7cm948cNP8XQ0Jt0MxK3x Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/22/2014 02:49 PM, Marcin Gibu=C5=82a wrote: > Hi, >=20 > I've encountered deadlock in qemu during some stress testing. The test > is making snapshots, committing them and constantly quering for block > job info. What is the exact command you used for triggering the block-commit? Was it via direct HMP or QMP, or indirect via libvirt? Were you trying to commit the active layer? If so, libvirt doesn't yet support that (I'm going to guarantee that libvirt 1.2.4 either supports it or rejects it up front, depending on how hard the libvirt implementation turns out to be), even though it was added in qemu 2.0 (it turns out that committing the active layer is subtly different than committing intermediate layers, and libvirt 1.2.3 wasn't prepared for the subtle difference and thus gets stuck if you try it). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --tCkiCeGwcCdp7cm948cNP8XQ0Jt0MxK3x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTfmtRAAoJEKeha0olJ0Nqr/MIAJK3fV73P4DqHGTm/HMbN7kv KmtA3plB2pXT+TrZebyPeoYBHW8XyipK0V+I2V1gLpMUo3ycCKT8/1LGt4XCcYvz 7o4h3vzNX4aubAe3BWO+7BtAQTIVtbr1AobIAB7qpikJJV47J6rBA4IP7HDqADQK +brWuN+spcnLKJP+nXBNoYAXcUukKw/6NNIviqs5M1XM1WGE/jM1gGwjsRijgx5s +yECeHePAhdc7lsCygAmqLFcfCtjHu0IYpyXDb3PoaqR0DLVsCzBQBE2hhYylgmh Q75r4St6T6SoF6RhdunyHcnhb1GvgLLwbSsyw1iI3wgcFgARdY9D60P9ZSr71gQ= =Eusz -----END PGP SIGNATURE----- --tCkiCeGwcCdp7cm948cNP8XQ0Jt0MxK3x--