qemu/hw/block/dataplane
Stefan Hajnoczi 580b6b2aa2 dataplane: use the QEMU block layer for I/O
Stop using a custom Linux AIO request queue from ioq.h and instead use
the QEMU block layer for I/O.

This patch adjusts the VirtIOBlockRequest struct with fields needed for
bdrv_aio_readv()/bdrv_aio_writev().  ioq.h used struct iovec and struct
iocb, which we don't need directly anymore.

Modify dataplane start/stop to set the AioContext on the
BlockDriverState.  We also no longer need to get the raw-posix file
descriptor.  This means image formats are now supported with dataplane!

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-06-04 09:56:12 +02:00
..
ioq.c hw: move virtio devices to hw/ subdirectories 2013-04-08 18:13:12 +02:00
ioq.h hw: move virtio devices to hw/ subdirectories 2013-04-08 18:13:12 +02:00
Makefile.objs hw: move virtio devices to hw/ subdirectories 2013-04-08 18:13:12 +02:00
virtio-blk.c dataplane: use the QEMU block layer for I/O 2014-06-04 09:56:12 +02:00
virtio-blk.h virtio-blk-dataplane: Improve error reporting 2013-12-09 21:46:48 +01:00