From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKuvY-00084L-6j for qemu-devel@nongnu.org; Fri, 22 Aug 2014 15:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKuvS-0005I3-8A for qemu-devel@nongnu.org; Fri, 22 Aug 2014 15:55:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKuvR-0005Gi-VU for qemu-devel@nongnu.org; Fri, 22 Aug 2014 15:55:06 -0400 Message-ID: <53F7A015.5000004@redhat.com> Date: Fri, 22 Aug 2014 13:55:01 -0600 From: Eric Blake MIME-Version: 1.0 References: <1408725104-17176-1-git-send-email-mreitz@redhat.com> <1408725104-17176-11-git-send-email-mreitz@redhat.com> In-Reply-To: <1408725104-17176-11-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mQaEBvJ6os79jIHwc86XoxfhtJuSi3KjG" Subject: Re: [Qemu-devel] [PATCH v3 10/10] 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 , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mQaEBvJ6os79jIHwc86XoxfhtJuSi3KjG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/22/2014 10:31 AM, 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 > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/104 | 98 ++++++++++++++++++++++++++++++++++++++= ++++++++ > tests/qemu-iotests/104.out | 46 ++++++++++++++++++++++ > tests/qemu-iotests/group | 1 + > 3 files changed, 145 insertions(+) > create mode 100755 tests/qemu-iotests/104 > create mode 100644 tests/qemu-iotests/104.out >=20 > diff --git a/tests/qemu-iotests/104 b/tests/qemu-iotests/104 > new file mode 100755 > index 0000000..cc6d0b3 > --- /dev/null > +++ b/tests/qemu-iotests/104 > @@ -0,0 +1,98 @@ > +#!/bin/bash > +# > +# Test case for repairing qcow2 images which cannot be repaired using > +# the on-disk refcount structures > +# > +# Copyright (C) 2013 Red Hat, Inc. Welcome to 2014, where we are practically 2/3 through with the year already :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --mQaEBvJ6os79jIHwc86XoxfhtJuSi3KjG 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 iQEcBAEBCAAGBQJT96AVAAoJEKeha0olJ0NqOC8IAI4Vs5vl+N8CyeB/fVU+T4Ks xvUPIs1YDV9LcOCYF8mdVcSYvvYit+rh9nUC1nAARkWu/XYO4wSHkIDdWx4oxEU4 Lt8ocgQMl4bWdxvzD8v9ljFaR0vHB07XlJRPYbrb+tsH8J2alxyeYJ0iw/EvzZks GRoez8LetKmDcGvR0Nv7gWPySrC1kas4rjZBm+sXt6GEgpfoxVbYoimiy7E/2K9H J+C3DOKR1cEX514pwL6qWWyXOpG3AmcweHArc2eOdtYlfO/0lNamhjrzw6q8YuK+ 7nmq6rY6hagFNYGFn3HVFjSTSbtgOmQZfXfHzg9Y5r1fU5LhQ3WBLsSf7uD6EeU= =3ozj -----END PGP SIGNATURE----- --mQaEBvJ6os79jIHwc86XoxfhtJuSi3KjG--