From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a16Bb-000580-LJ for qemu-devel@nongnu.org; Tue, 24 Nov 2015 00:30:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a16Ba-0002iJ-Q7 for qemu-devel@nongnu.org; Tue, 24 Nov 2015 00:30:39 -0500 References: <1448342531-16407-1-git-send-email-famz@redhat.com> <1448342531-16407-2-git-send-email-famz@redhat.com> From: Eric Blake Message-ID: <5653F5F3.10303@redhat.com> Date: Mon, 23 Nov 2015 22:30:27 -0700 MIME-Version: 1.0 In-Reply-To: <1448342531-16407-2-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Qg2bcxkOqVfM2VoHIJ3UagIRBNCwBiKpb" Subject: Re: [Qemu-devel] [PATCH for-2.6 01/14] block: Add "file" output parameter to block status query functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Jeff Cody , Peter Lieven , Stefan Hajnoczi , Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Qg2bcxkOqVfM2VoHIJ3UagIRBNCwBiKpb Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/23/2015 10:21 PM, Fam Zheng wrote: > The added parameter can be used to return the BDS pointer which the > valid offset is refering to. It's value should be ignored unless s/refering/referring/ > BDRV_BLOCK_OFFSET_VALID in ret is set. >=20 > Until block drivers fill in the right value, let's clear it explicitly > right before calling .bdrv_get_block_status. >=20 > Signed-off-by: Fam Zheng > --- Reviewed-by: Eric Blake Is there ever going to be a need to expose this through QMP, or is this just used for the qemu-img map subcommand? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Qg2bcxkOqVfM2VoHIJ3UagIRBNCwBiKpb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWU/XzAAoJEKeha0olJ0NqoCIIAJgRJPIAzGEhLD47242Ce0eC fUfTS3aOFHJXwonCjRBmiPY9tC1E1awtVQ6c56NEBpbTKrq3BE1QFJjOeTA0n0a2 m1RVgzv/ydCX4fB01OlHoELpv64YdlvwiLIKBse4z3xGp4oj2bJ9cKyRR62/STiJ wBaMqZg8u2Nn2w1S/KDfu6YGjm36dj0teEmnc8RapjI1FN6pvDzv2sjshKxQYPdz KTugzFCcskIyBquUh1W1r3kmrgBs9ZlJfqrrMp4+uS0zlqyKqA0KwSUZtyFM2GZ2 4CeAnoypMIDUIvOkyBtjjTF4Sh1oqZ6oL0Gh+8qBG3h8I9S/27qI1XQLdVzDJUM= =37Sh -----END PGP SIGNATURE----- --Qg2bcxkOqVfM2VoHIJ3UagIRBNCwBiKpb--