Il 27/11/2012 04:22, Wenchao Xia ha scritto: >>> >> >> There is no need (yet) to do these three steps. Once we add an >> asynchronous I/O API, we can add an API to get an AioContext from a >> QBlockContext. >> >> This however requires support for multiple AioContexts, I think. So >> that's left for later. >> > It seems aio_context_new() and bdrv_init() must be called to make sure > block API works
Yes, those two are needed. > , should this function be deleted now and move this > initial calls into another new function libqblock_init()? Your choice. :) Paolo