Re: [Qemu-devel] Make thread pool implementation modular

2013-11-02 Thread Stefan Weil
Am 02.11.2013 00:34, schrieb Matthias Brugger:
 This patch series makes the thread pool implementation modular.
 This allows each drive to use a special implementation.
 The patch series prepares qemu to be able to include thread pools different
 the one actually implemented. It will allow to implement approaches like 
 paravirtualized block requests [1].


Please use scripts/checkpatch.pl to check any patch before sending it to
the list.
There are currently errors and warnings for patch 1 and patch 3 which
should be
fixed.

In patch 3 you can also fix defintion in the patch description.

Regards,
Stefan




[Qemu-devel] Make thread pool implementation modular

2013-11-01 Thread Matthias Brugger
This patch series makes the thread pool implementation modular.
This allows each drive to use a special implementation.
The patch series prepares qemu to be able to include thread pools different
the one actually implemented. It will allow to implement approaches like 
paravirtualized block requests [1].

 async.c |  4 ++--
 block/raw-posix.c   | 15 +++
 block/raw-win32.c   |  9 +++--
 blockdev.c  | 13 +
 include/block/aio.h |  2 +-
 include/block/thread-pool.h |  9 +
 include/qemu-common.h   |  2 ++
 qemu-options.hx |  2 +-
 thread-pool.c   | 32 
 9 files changed, 78 insertions(+), 10 deletions(-)

[1] 
http://www.linux-kvm.org/wiki/images/5/53/2012-forum-Brugger-lightningtalk.pdf