* [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library
@ 2012-08-29 11:22 Wenchao Xia
2012-08-29 15:59 ` Eric Blake
0 siblings, 1 reply; 3+ messages in thread
From: Wenchao Xia @ 2012-08-29 11:22 UTC (permalink / raw)
To: qemu-devel
Cc: kwolf, aliguori, stefanha, Wenchao Xia, blauwirbel, pbonzini,
eblake, afaerber
This patch intrudce libqblock API, libqblock-test is used as a test case.
make libqblock-test at root diretory could make it build. Test it with
./libqblock/libqblock-test [FILE] [BACKINGFILE]
V2:
Format specific options were brought to API surface.
All option were changed to enum type instead of string.
ALL flags used were defined in libqblock.h.
V3:
Introduced broker, which was used for each thread, now it is used only to
handle errors.
Introduced AIO, it is based on qemu's aio implemetion.
Balanced the structure folder depth and extension-bility, now parameters
are classed into two kinds: location and formats.
Using reserved bytes in structure to make ABI code simpler.
Wenchao Xia (5):
libqblock, API design
libqblock, user example
libqblock, implemention major
libqblock, implemention minor
libqblock, build system
Makefile | 23 +-
aio.c | 95 ++++
block.c | 2 +-
block.h | 1 +
libqblock/Makefile | 74 ++++
libqblock/libqblock-test.c | 242 +++++++++++
libqblock/libqblock.c | 1031 ++++++++++++++++++++++++++++++++++++++++++++
libqblock/libqblock.h | 550 +++++++++++++++++++++++
qemu-aio.h | 1 +
9 files changed, 2017 insertions(+), 2 deletions(-)
create mode 100644 libqblock/Makefile
create mode 100644 libqblock/libqblock-test.c
create mode 100644 libqblock/libqblock.c
create mode 100644 libqblock/libqblock.h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library
2012-08-29 11:22 [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library Wenchao Xia
@ 2012-08-29 15:59 ` Eric Blake
2012-08-30 2:02 ` Wenchao Xia
0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2012-08-29 15:59 UTC (permalink / raw)
To: Wenchao Xia
Cc: kwolf, aliguori, stefanha, qemu-devel, blauwirbel, pbonzini,
afaerber
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
On 08/29/2012 04:22 AM, Wenchao Xia wrote:
> This patch intrudce libqblock API, libqblock-test is used as a test case.
> make libqblock-test at root diretory could make it build. Test it with
> ./libqblock/libqblock-test [FILE] [BACKINGFILE]
Your series came through unthreaded, which makes it harder to review.
Please ensure your 'git send-email' settings allow the patches to all
appear In-Reply-To the cover letter.
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 617 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library
2012-08-29 15:59 ` Eric Blake
@ 2012-08-30 2:02 ` Wenchao Xia
0 siblings, 0 replies; 3+ messages in thread
From: Wenchao Xia @ 2012-08-30 2:02 UTC (permalink / raw)
To: Eric Blake
Cc: kwolf, aliguori, stefanha, qemu-devel, blauwirbel, pbonzini,
afaerber
于 2012-8-29 23:59, Eric Blake 写道:
> On 08/29/2012 04:22 AM, Wenchao Xia wrote:
>> This patch intrudce libqblock API, libqblock-test is used as a test case.
>> make libqblock-test at root diretory could make it build. Test it with
>> ./libqblock/libqblock-test [FILE] [BACKINGFILE]
>
> Your series came through unthreaded, which makes it harder to review.
> Please ensure your 'git send-email' settings allow the patches to all
> appear In-Reply-To the cover letter.
>
OK, mis-spelled some words before, would watch out for that.
--
Best Regards
Wenchao Xia
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-30 2:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29 11:22 [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library Wenchao Xia
2012-08-29 15:59 ` Eric Blake
2012-08-30 2:02 ` Wenchao Xia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).