Hi, This patch series is a split-off from the Spice block device RFC. http://lists.gnu.org/archive/html/qemu-devel/2013-11/msg02024.html
It should include only non-controversial or simple patches. The most important change is the NBD client implementation moved to a seperate file. In v2: - should address Paolo comments - added a patch to remove unused CoQueue member Marc-André Lureau (14): coroutine: remove qemu_co_queue_wait_insert_head vscclient: do not add a socket watch if there is not data to send spice-char: remove unused field qmp_change_blockdev() remove unused has_format include: add missing config-host.h include char: add qemu_chr_fe_event() spice-char: implement chardev port event Split nbd block client code nbd: don't change socket block during negotiate nbd: pass export name as init argument nbd: make nbd_client_session_close() idempotent nbd: finish any pending coroutine nbd: avoid uninitialized warnings coroutine: remove unused CoQueue AioContext block/Makefile.objs | 2 +- block/nbd-client.c | 385 ++++++++++++++++++++++++++++++++++++++++++++++ block/nbd-client.h | 50 ++++++ block/nbd.c | 380 ++++----------------------------------------- blockdev.c | 2 +- include/block/coroutine.h | 7 - include/sysemu/blockdev.h | 2 +- include/sysemu/char.h | 10 ++ include/ui/qemu-spice.h | 2 + libcacard/vscclient.c | 10 +- nbd.c | 2 - qemu-char.c | 7 + qemu-coroutine-lock.c | 8 - qmp.c | 2 +- spice-qemu-char.c | 11 +- 15 files changed, 507 insertions(+), 373 deletions(-) create mode 100644 block/nbd-client.c create mode 100644 block/nbd-client.h -- 1.8.4.2