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.
> 
> This patch exports a bdrv_co_ioctl() function and uses it to extend this
> mode of operation to ioctls.
> 
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  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(-)
> 

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to