qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com,
	Wenchao Xia <xiawenc@linux.vnet.ibm.com>,
	blauwirbel@gmail.com, pbonzini@redhat.com, eblake@redhat.com,
	afaerber@suse.de
Subject: [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library
Date: Wed, 29 Aug 2012 19:22:14 +0800	[thread overview]
Message-ID: <1346239334-25347-1-git-send-email-xiawenc@linux.vnet.ibm.com> (raw)

  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

             reply	other threads:[~2012-08-29 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 11:22 Wenchao Xia [this message]
2012-08-29 15:59 ` [Qemu-devel] [PATCH v3 0/5] [RFC] libqblock, qemu block layer library Eric Blake
2012-08-30  2:02   ` Wenchao Xia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346239334-25347-1-git-send-email-xiawenc@linux.vnet.ibm.com \
    --to=xiawenc@linux.vnet.ibm.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).