Received: from eggs.gnu.org ([2001:4830:134:3::10]:42344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxHKi-0007C6-Iq for qemu-devel@nongnu.org; Thu, 20 Oct 2016 13:40:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxHKh-00019H-Kz for qemu-devel@nongnu.org; Thu, 20 Oct 2016 13:40:48 -0400 References: <1476971169-31604-1-git-send-email-kwolf@redhat.com> <1476971169-31604-5-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <3c07b417-7bec-9a2d-fab6-e1874063d9f4@redhat.com> Date: Thu, 20 Oct 2016 12:40:39 -0500 MIME-Version: 1.0 In-Reply-To: <1476971169-31604-5-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wPCbxVvX4F6Qkjw2kCSw1OcB2lQWdxRQU" Subject: Re: [Qemu-devel] [PATCH 4/9] block: Use blk_co_ioctl() for all BB level ioctls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wPCbxVvX4F6Qkjw2kCSw1OcB2lQWdxRQU From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com Message-ID: <3c07b417-7bec-9a2d-fab6-e1874063d9f4@redhat.com> Subject: Re: [Qemu-devel] [PATCH 4/9] block: Use blk_co_ioctl() for all BB level ioctls References: <1476971169-31604-1-git-send-email-kwolf@redhat.com> <1476971169-31604-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1476971169-31604-5-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/20/2016 08:46 AM, Kevin Wolf wrote: > All read/write functions already have a single coroutine-based function= > on the BlockBackend level through which all requests go (no matter what= > API style the external caller used) and which passes the requests down > to the block node level. >=20 > This patch exports a bdrv_co_ioctl() function and uses it to extend thi= s > mode of operation to ioctls. >=20 > Signed-off-by: Kevin Wolf > --- > block/block-backend.c | 39 +++++++++++++++++++++++++++++++++-= ----- > block/io.c | 8 ++++---- > include/block/block.h | 1 + > include/sysemu/block-backend.h | 1 + > 4 files changed, 39 insertions(+), 10 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --wPCbxVvX4F6Qkjw2kCSw1OcB2lQWdxRQU 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/ iQEcBAEBCAAGBQJYCQGXAAoJEKeha0olJ0NqG6wH+gPMKIrH4u1js85Qoo5qKZ1n 1ztZduLIOIkzMZ/WusHES+ApyiviJTJSVW9DFARwC6A7pFUOIr/ppOLDvSzkncoy lEs14Nai5npwjRdPoLNONkv0gvVJbxwymmzBPXZsxHAIq4nge73JOGIzgecMwppN sVLVRZe6o6WRROjMOehmeKijlRyIAlZuErGyA+E9gohqcXDL2/YUCqFz6JMqfOQ6 jw4fBJs0iY346HDkFHHIdwBBECZ2EszMJTPN7oO2EHoNQVUT4FvtkiyyBFEtHxNG GUaZBs5SinsFjIn0T9Gi4YapJlA+opJaD6HKkFZApeatzemypA7UeHVtv+ILSSM= =zPag -----END PGP SIGNATURE----- --wPCbxVvX4F6Qkjw2kCSw1OcB2lQWdxRQU--