block-queue itself looks more or less ready to me now, the rest is possible bug fixes and addressing review comments. So please, give the first three patches a good review, they are in their final version otherwise.
This series is only marked RFC because proper qcow2 integration is missing and merging block-queue doesn't make much sense without a user. Patch 4/4 contains a hackish version of qcow2 integration which I think should fully work (I think I addressed Stefan's comment), but is too ugly to be merged. Kevin Wolf (4): block: Implement bdrv_aio_pwrite Add block-queue Test cases for block-queue qcow2: Preliminary block-queue support Makefile | 1 + Makefile.objs | 2 +- block-queue.c | 736 ++++++++++++++++++++++++++++++++++++++++++++++++ block-queue.h | 61 ++++ block.c | 167 +++++++++++ block.h | 2 + block/qcow2-cluster.c | 39 ++-- block/qcow2-refcount.c | 62 ++-- block/qcow2.c | 83 ++++++- block/qcow2.h | 5 + check-block-queue.c | 402 ++++++++++++++++++++++++++ cpus.c | 8 +- qemu-common.h | 3 + qemu-tool.c | 5 + sysemu.h | 1 - 15 files changed, 1521 insertions(+), 56 deletions(-) create mode 100644 block-queue.c create mode 100644 block-queue.h create mode 100644 check-block-queue.c -- 1.7.2.3