[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-block
Subject:    Re: [Qemu-block] [PATCH v2 09/11] block: Introduce bdrv_aio_poll
From:       Stefan Hajnoczi <stefanha () gmail ! com>
Date:       2015-08-28 11:50:46
Message-ID: 20150828115046.GI4917 () stefanha-thinkpad ! redhat ! com
[Download RAW message or body]

On Wed, Jul 29, 2015 at 12:42:12PM +0800, Fam Zheng wrote:
> +bool bdrv_aio_poll(AioContext *ctx, bool blocking)
> +{
> +    bool ret;
> +
> +    ret = aio_poll(ctx, blocking);
> +    return ret;
> +}

This function would fit into bdrv_*() APIs better if the first argument
was BlockDriverState *bs instead of an AioContext.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic