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.