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
On Wed, Jul 29, 2015 at 12:42:12PM +0800, Fam Zheng wrote:
> This call is introduced simply as a wrapper of aio_poll, but it makes it
> is easy to change the polled client types.
>
> Signed-off-by: Fam Zheng
> ---
> block/io.c| 8
> include/block/aio.h | 2 +-
> include/bl