From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aygUw-0005Jb-Fg for qemu-devel@nongnu.org; Fri, 06 May 2016 10:13:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aygUk-0001Ek-JL for qemu-devel@nongnu.org; Fri, 06 May 2016 10:12:49 -0400 References: <1462406126-22946-1-git-send-email-eblake@redhat.com> <1462406126-22946-6-git-send-email-eblake@redhat.com> <20160506123129.GE5093@noname.redhat.com> From: Eric Blake Message-ID: <572CA636.6090500@redhat.com> Date: Fri, 6 May 2016 08:12:06 -0600 MIME-Version: 1.0 In-Reply-To: <20160506123129.GE5093@noname.redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FxQ4REVLs1oBpGavQx3gv63ioSp71oXO6" Subject: Re: [Qemu-devel] [PATCH v6 05/20] block: Introduce byte-based aio read/write List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FxQ4REVLs1oBpGavQx3gv63ioSp71oXO6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/06/2016 06:31 AM, Kevin Wolf wrote: >> +++ b/include/sysemu/block-backend.h >> @@ -110,9 +110,15 @@ int64_t blk_nb_sectors(BlockBackend *blk); >> BlockAIOCB *blk_aio_readv(BlockBackend *blk, int64_t sector_num, >> QEMUIOVector *iov, int nb_sectors, >> BlockCompletionFunc *cb, void *opaque); >> +BlockAIOCB *blk_aio_preadv(BlockBackend *blk, int64_t offset, >> + QEMUIOVector *iov, BdrvRequestFlags flags,= >=20 > If you have to respin for some reason, I think QEMUIOVectors are > commonly called qiov, whereas iov is usually the name for struct iovec.= Copy-and-paste, but also a trivial cleanup. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --FxQ4REVLs1oBpGavQx3gv63ioSp71oXO6 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/ iQEcBAEBCAAGBQJXLKY2AAoJEKeha0olJ0Nq/C8H/0PuqKczMtTphKsPxdJWX0Gn o2bpcFu7K83bIWfyTj2jA+eu53kQgOlSIS9dgOLAV8kSe2MIvVquiUNJ0TgDqZHm vcppIPUcSfYa8wxhJcTgzJRZPcz9FgRsFEp6DJ7WVbRJd76n2J5u7zqFvCjyrvAk ejVAlP1EIlUJNczqzTW+KMRt0ZU1nSUdMPZTIeaQSJsF6Qg4lLz+RQrp1sn4wLDd pIeCTBRjfN4giM3VYBQE73en+SvMqtHIwd7pmmNHGda7a7u3c3tkjZaeRMGfsMN6 l83uN+T8TFiTI7HLHP6JAZ3Q5qjI46y73+Le83sxOmwUp+T5xmoLHER+B3EMZmg= =REJh -----END PGP SIGNATURE----- --FxQ4REVLs1oBpGavQx3gv63ioSp71oXO6--