Re: [Qemu-devel] [PATCH V11 6/7] libqblock API implement

2012-11-27 Thread Paolo Bonzini
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 f

Re: [Qemu-devel] [PATCH V11 6/7] libqblock API implement

2012-11-26 Thread Wenchao Xia
> Il 24/11/2012 10:27, Wenchao Xia ha scritto: This patch contains implemention for APIs. Important APIs: 1 QBlockContext. This structure was used to retrieve errors, every thread must create one first. 2 QBlockImage. It stands for an block image object. 3 QBlockStaticInfo. It contain

Re: [Qemu-devel] [PATCH V11 6/7] libqblock API implement

2012-11-26 Thread Paolo Bonzini
Il 24/11/2012 10:27, Wenchao Xia ha scritto: > This patch contains implemention for APIs. > Important APIs: > 1 QBlockContext. This structure was used to retrieve errors, every thread > must create one first. > 2 QBlockImage. It stands for an block image object. > 3 QBlockStaticInfo. It con

[Qemu-devel] [PATCH V11 6/7] libqblock API implement

2012-11-24 Thread Wenchao Xia
This patch contains implemention for APIs. Important APIs: 1 QBlockContext. This structure was used to retrieve errors, every thread must create one first. 2 QBlockImage. It stands for an block image object. 3 QBlockStaticInfo. It contains static information such as location, backing file,