Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 8:19 AM, Kevin Wolf wrote: > Am 11.09.2012 22:28, schrieb Blue Swirl: >> On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia >> wrote: >>> This patch contains the major APIs in the library. >>> Important APIs: >>> 1 QBroker. These structure was used to retrieve errors, every

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-13 Thread Wenchao Xia
Hi, about the OOM issue, I plan to drop the OOM request for now in implemention, and at next step use rpc to wrap these APIs, then user can select to link directly against the library or the wrapped API, what do you think about it? > 于 2012-9-11 5:07, Eric Blake 写道: >> On 09/10/2012 02:26 AM, Wen

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-12 Thread Wenchao Xia
于 2012-9-12 16:19, Kevin Wolf 写道: Am 11.09.2012 22:28, schrieb Blue Swirl: On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: This patch contains the major APIs in the library. Important APIs: 1 QBroker. These structure was used to retrieve errors, every thread must create one first, la

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-12 Thread Kevin Wolf
Am 11.09.2012 22:28, schrieb Blue Swirl: > On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia > wrote: >> This patch contains the major APIs in the library. >> Important APIs: >> 1 QBroker. These structure was used to retrieve errors, every thread must >> create one first, later maybe thread relate

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-11 Thread Wenchao Xia
All changed, thanks. On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: This patch contains the major APIs in the library. Important APIs: 1 QBroker. These structure was used to retrieve errors, every thread must create one first, later maybe thread related staff could be added into i

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: > This patch contains the major APIs in the library. > Important APIs: > 1 QBroker. These structure was used to retrieve errors, every thread must > create one first, later maybe thread related staff could be added into it. > 2 QBlockState.

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-10 Thread Wenchao Xia
于 2012-9-11 5:07, Eric Blake 写道: On 09/10/2012 02:26 AM, Wenchao Xia wrote: This patch contains the major APIs in the library. Important APIs: 1 QBroker. These structure was used to retrieve errors, every thread must create one first, later maybe thread related staff could be added into it

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-10 Thread Eric Blake
On 09/10/2012 02:26 AM, Wenchao Xia wrote: > This patch contains the major APIs in the library. > Important APIs: > 1 QBroker. These structure was used to retrieve errors, every thread must > create one first, later maybe thread related staff could be added into it. > 2 QBlockState. It stands

[Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-10 Thread Wenchao Xia
This patch contains the major APIs in the library. Important APIs: 1 QBroker. These structure was used to retrieve errors, every thread must create one first, later maybe thread related staff could be added into it. 2 QBlockState. It stands for an block image object. 3 QBlockStaticInfo. It