diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:55 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:12 +0200 |
commit | 580b6b2aa2fea42ee42921ef5812b40224ab1b49 (patch) | |
tree | e251c22f0f563b633733c8ff91b4f301daf81267 /hw/pci | |
parent | c75f3bdf46f74c9f1c199ace3d2b291e430dcda3 (diff) | |
download | qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.zip qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.tar.gz qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.tar.bz2 |
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>
Diffstat (limited to 'hw/pci')
0 files changed, 0 insertions, 0 deletions