From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLAlD-0007l2-T5 for qemu-devel@nongnu.org; Tue, 10 Feb 2015 08:21:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLAl8-0001oF-1o for qemu-devel@nongnu.org; Tue, 10 Feb 2015 08:21:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLAl7-0001o7-P5 for qemu-devel@nongnu.org; Tue, 10 Feb 2015 08:21:45 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1ADLj1F028146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 10 Feb 2015 08:21:45 -0500 Message-ID: <54DA05E7.40807@redhat.com> Date: Tue, 10 Feb 2015 06:21:43 -0700 From: Eric Blake MIME-Version: 1.0 References: <1423509950-7468-1-git-send-email-mreitz@redhat.com> <1423509950-7468-2-git-send-email-mreitz@redhat.com> In-Reply-To: <1423509950-7468-2-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mWKFkBrG16GttekliQlMh3LAGGvh7h7se" Subject: Re: [Qemu-devel] [PATCH v3 01/12] qcow2: Add new overlap check functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mWKFkBrG16GttekliQlMh3LAGGvh7h7se Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/09/2015 12:25 PM, Max Reitz wrote: > The existing qcow2 metadata overlap detection function used existing > structures to determine the location of the image metadata, from plain > fields such as l1_table_offset and l1_size in the BDRVQcowState, over > image structures in memory such as the L1 table for the L2 tables' > positions, or it even read the required data directly from disk for > every requested check, such as the snapshot L1 tables for the inactive > L2 tables' positions. >=20 =2E.. >=20 > Signed-off-by: Max Reitz > --- > block/Makefile.objs | 3 +- > block/qcow2-overlap.c | 400 ++++++++++++++++++++++++++++++++++++++++++= ++++++++ > block/qcow2.h | 13 ++ > 3 files changed, 415 insertions(+), 1 deletion(-) > create mode 100644 block/qcow2-overlap.c >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --mWKFkBrG16GttekliQlMh3LAGGvh7h7se 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/ iQEcBAEBCAAGBQJU2gXnAAoJEKeha0olJ0NqP9AIAJ8x8t9nJqrBv+FgelcClDVm tFJPIcNIDHWjjzyXizS1hhi9XQPxkbvyDzBUMmToOXpLkynMmSDqzXK7bjsh4uGR 3S0LvFbJud83Cb5qp40Rhga77gKDkM25Av4nKOVjIFokUvPKlM16xXYyV1BSrP8M GbLWoh3TaGwm1SlJONLc2YZKNFBZGKku+13T21ElXWu9ZUVZZDDsyE8+OONtbTgf 7XRnSgAzcahuTTJsLHKWxtj6B2UQIvqSe4Mq4b82PUxHdojkehi8ZemHZn2uIiME q7Lhq0La2Pfm3PazVNNI0C/J+WoY1GkVEmQ5DUFeEyfBfJkPB+70ogfzgKjyXgA= =BEtx -----END PGP SIGNATURE----- --mWKFkBrG16GttekliQlMh3LAGGvh7h7se--