From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3aY-0003jA-G8 for qemu-devel@nongnu.org; Thu, 27 Aug 2015 16:15:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV3aX-0001dE-KQ for qemu-devel@nongnu.org; Thu, 27 Aug 2015 16:15:58 -0400 References: <7B586EF9-D3C3-4624-B20E-495F1089F428@roessner.co> <0A593B1A-2EE7-4972-BBF1-ADA6654FC814@roessner.co> <20150826132530.GE11016@localhost.localdomain> <26C051AF-1E94-4038-B313-86BC8826088C@roessner.co> <20150827123447.GC2669@localhost.localdomain> <0F34FD04-48A3-4FAD-853B-A2CBE978902E@roessner.co> From: Eric Blake Message-ID: <55DF6FF7.5050906@redhat.com> Date: Thu, 27 Aug 2015 14:15:51 -0600 MIME-Version: 1.0 In-Reply-To: <0F34FD04-48A3-4FAD-853B-A2CBE978902E@roessner.co> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2QEc18FXhM6GTv9mxrFPnO43FVGffu3UE" Subject: Re: [Qemu-devel] KVM guest gets aborted if blockcommit is called List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?Q2hyaXN0aWFuIFLDtsOfbmVy?= , Jeff Cody Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2QEc18FXhM6GTv9mxrFPnO43FVGffu3UE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/27/2015 02:01 PM, Christian R=C3=B6=C3=9Fner wrote: >>>> >>>> I think you may be running into a bug that is fixed by a recent pat= ch >>>> (after v2.4.0):=20 >>>> >>>> commit e424aff5f307227b1c2512bbb8ece891bb895cef >>>> Author: Kevin Wolf >>>> Date: Thu Aug 13 10:41:50 2015 +0200 >>>> >>>> mirror: Fix coroutine reentrance >>>> >>>> >>>> Could you retry with qemu.git/master, and see if that fixes the issu= e >>>> you are seeing? >>> >>> Until now, everything looks perfectly. No issues. Backup is running s= moothly. >>> >>> Thanks very much. If nothing changes until tonight, I am going to clo= se the bug report. >>> >> >> Christian, >> >> Great to hear, thanks for the follow-up. >=20 > Just a final result: >=20 > As I use libvirt with qemu, I used the blockcommit feature with libvirt= =2E Running blockcommit directly with --wait --active --pivot, it may hap= pen that the pivot fails, because the blockcommit wasn't already ready to= pivot. But I do not know, if this is libvirt related or qemu. Splitting = it into blockcommit and blockjob, everything works like a charm. So I hav= e a working solution now. Thanks very much for your help and feedback. Which version of libvirt? There was a bug up until 1.2.18 where older libvirt got thrown off by newer qemu returning a status with 0 progress but equal to the block job size, and libvirt interpreting it as job complete with a result of failing the command; splitting the job into distinct parts was indeed the right workaround as it prevented hitting the window. See libvirt commit eae5924 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2QEc18FXhM6GTv9mxrFPnO43FVGffu3UE 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/ iQEcBAEBCAAGBQJV32/7AAoJEKeha0olJ0Nq+GgIAIO+ptIZVHu1nFWtNlKLYTQG gDPFaUbgQzG2KXlKFvn0m3gWGe8ZdQ1550Agv2yfDIoIQg0Xm4JkQkfe6slpGJsv Ed7faw0nLsRRFdPakmimqlt8EuqqA7tAArB7BAw2ZTi6NAB6Mhw5Nh0yVftscs9u MxHE+7zPSpAhhIuYTxTUUT70cJpbvnRecrvJ3mgR5qhVbvWIJZEshQrNBIFueWLj xgFy4MjYG34AwtQ6IPIlp+8gMSVJn4dd+gq4bKOaaZ6qu2p3PXSleAQfWuquEHCo zwyCE1aQAin+OlssYA3P7O7Oie/b9NDX6VAZilqkbihVlnh5PCvjMlHBxFFC1gU= =mics -----END PGP SIGNATURE----- --2QEc18FXhM6GTv9mxrFPnO43FVGffu3UE--