From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMGTQ-0000t9-Rh for qemu-devel@nongnu.org; Tue, 26 Aug 2014 09:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMGTL-0000Zn-Mk for qemu-devel@nongnu.org; Tue, 26 Aug 2014 09:07:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMGTL-0000Za-Ez for qemu-devel@nongnu.org; Tue, 26 Aug 2014 09:07:39 -0400 Message-ID: <53FC8693.6030806@redhat.com> Date: Tue, 26 Aug 2014 07:07:31 -0600 From: Eric Blake MIME-Version: 1.0 References: <1408725104-17176-1-git-send-email-mreitz@redhat.com> <1408725104-17176-6-git-send-email-mreitz@redhat.com> In-Reply-To: <1408725104-17176-6-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GLTA9C2up90X7ObFxqGrI1eQAeAaKeKso" Subject: Re: [Qemu-devel] [PATCH v3 05/10] qcow2: Fix refcount blocks beyond image end List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GLTA9C2up90X7ObFxqGrI1eQAeAaKeKso Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/22/2014 10:31 AM, Max Reitz wrote: > If the qcow2 check function detects a refcount block located beyond the= > image end, grow the image appropriately. This cannot break anything and= > is the logical fix for such a case. Does the testsuite cover this one? I didn't see it mentioned in patch 10/= 10. >=20 > Signed-off-by: Max Reitz > --- > block/qcow2-refcount.c | 50 ++++++++++++++++++++++++++++++++++++++++++= ++++---- > 1 file changed, 46 insertions(+), 4 deletions(-) >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --GLTA9C2up90X7ObFxqGrI1eQAeAaKeKso 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 iQEcBAEBCAAGBQJT/IaTAAoJEKeha0olJ0NqIekH/3znTQPA1nve4dOUV5Ra1sY3 HHlc+ID8aExX4P0jlrD4tbmfe5JAqNaVu2VtBpnPggYkjolIEUgZZ8o3h9IRKnq5 +G0ae3Xb/DEIYfpV1XU4bFzhP1jqYUu5+f5zaaMPtj5J4mPx8m3m7RvbklaQ0YCT IFNB23iq6WgP1LeM7sLEfE9xZnO/7Q3jZ3A5R84/VWv8LBBriFlapbGAsjtsGZsU 2Y4u+FYcJnlS/njwFwTZ5Bhrr/wCc487IPlKA3LVoSwq3zlxQh1ngn5aXjvfnYD6 BmPWFaQsMqdlxby4d8MJVk99nEntdr0242vDu8gRi8T+HxfgcxCiFTBuGrSUGMc= =QDsh -----END PGP SIGNATURE----- --GLTA9C2up90X7ObFxqGrI1eQAeAaKeKso--