From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOu8W-00041r-VV for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:53:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOu8R-0002zR-6R for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:53:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOu8Q-0002zE-UK for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:52:59 -0400 Message-ID: <54062016.6050004@redhat.com> Date: Tue, 02 Sep 2014 13:52:54 -0600 From: Eric Blake MIME-Version: 1.0 References: <1409348463-16627-1-git-send-email-mreitz@redhat.com> <1409348463-16627-12-git-send-email-mreitz@redhat.com> In-Reply-To: <1409348463-16627-12-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u8PEKTPDl47C9pnLfc9jiKb2CMmeVBxhe" Subject: Re: [Qemu-devel] [PATCH v5 11/11] iotests: Add test for potentially damaging repairs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u8PEKTPDl47C9pnLfc9jiKb2CMmeVBxhe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/29/2014 03:41 PM, Max Reitz wrote: > There are certain cases where repairing a qcow2 image might actually > damage it further (or rather, where repairing it has in fact damaged it= > further with the old qcow2 check implementation). This should not > happen, so add a test for these cases. >=20 > Furthermore, the repair function now repairs refblocks beyond the image= > end by resizing the image accordingly. Add several tests for this as > well. >=20 > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/104 | 141 +++++++++++++++++++++++++++++++++++++= ++++++++ > tests/qemu-iotests/104.out | 110 +++++++++++++++++++++++++++++++++++ > tests/qemu-iotests/group | 1 + > 3 files changed, 252 insertions(+) > create mode 100755 tests/qemu-iotests/104 > create mode 100644 tests/qemu-iotests/104.out >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --u8PEKTPDl47C9pnLfc9jiKb2CMmeVBxhe 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 iQEcBAEBCAAGBQJUBiAWAAoJEKeha0olJ0NqxU8IAJlb/TkO4UnkOLWVfvZoORFW XlFjMxJ+uyFFjL+ZdiRi85Bw3c8bKfcXmnRNtBi0m8BYsYtbBOyNX1ixw2e/ZfVs rOY8Nuc5khK0qJRS4Vn9Ki6r6vlWm1ux4PfNiJhQqvvQe2lLJq4oBlOKgGNbOluQ L/6hsuWBO/GXaE15SvyBwHGDX9eiAXIOmj6JyvaqHiI92TM2AOlkPZFzUMKhTCLm 1zXi39b9eD4X+0vrjlddQU5WMxwJUFdV1blSqr/sGDmMtpwGSm0qcEIMz+PHHfce qvmZhDPlUKJbLjOvNB73HIREz/w/g3dmN5x6d3B3ksnl10cprOatV2ZJ+VQUv9c= =jpc8 -----END PGP SIGNATURE----- --u8PEKTPDl47C9pnLfc9jiKb2CMmeVBxhe--