From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFAFk-0006A6-Oi for qemu-devel@nongnu.org; Thu, 29 Aug 2013 17:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFAFf-0007I0-S3 for qemu-devel@nongnu.org; Thu, 29 Aug 2013 17:59:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFAFf-0007Hw-Ic for qemu-devel@nongnu.org; Thu, 29 Aug 2013 17:59:39 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7TLxc5C016084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Aug 2013 17:59:38 -0400 Message-ID: <521FC449.3000205@redhat.com> Date: Thu, 29 Aug 2013 15:59:37 -0600 From: Eric Blake MIME-Version: 1.0 References: <1377784821-29561-1-git-send-email-pbonzini@redhat.com> <1377784821-29561-16-git-send-email-pbonzini@redhat.com> In-Reply-To: <1377784821-29561-16-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Eb17xqAjSIXRBAC5lDEosTMf1bSogLihg" Subject: Re: [Qemu-devel] [PATCH v4 15/21] block: return BDRV_BLOCK_ZERO past end of backing file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Eb17xqAjSIXRBAC5lDEosTMf1bSogLihg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/29/2013 08:00 AM, Paolo Bonzini wrote: > If the sectors are unallocated and we are past the end of the > backing file, they will read as zero. >=20 > Signed-off-by: Paolo Bonzini > --- > block.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Eb17xqAjSIXRBAC5lDEosTMf1bSogLihg 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.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSH8RJAAoJEKeha0olJ0NqzgAH/RFD4gEuZkbLgGQmsQOuADTE WSrPSbNEuXI6X0EZnmZRy5JKZp7ttqM3utZA5wPBG5E/cJwcpl+TiPwGlOu/AdhN tGVfCSC9Gca3N6j/Vtgv8ke3JRwR4iO2I6FS3hy52lROwPeUcoa3q8QnYXPNbwj7 rDRDiAonvNtSfWzGU11zbKzbPBx443UinkKdhZvtP+ygWx144AkXEBpwo4YTU7AW l+6d79crcWSxgwuRhzmURI3U6MVmEg/f4iHkCZ8925WdTnbKXNA0xxLhvmra2G99 gS3dnAqjrm8O9S06oS4FQ+/CTYtV4dV/5+QIajRKJVKokITlxVn27B8LcdLGe4M= =Ij/A -----END PGP SIGNATURE----- --Eb17xqAjSIXRBAC5lDEosTMf1bSogLihg--