[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V11 6/7] libqblock API implement
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH V11 6/7] libqblock API implement |
Date: |
Tue, 27 Nov 2012 10:11:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
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
[Qemu-devel] [PATCH V11 7/7] libqblock test example, Wenchao Xia, 2012/11/24