diff options
| author | Stefan Hajnoczi | 2014-05-08 16:34:55 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-04 09:56:12 +0200 |
| commit | 580b6b2aa2fea42ee42921ef5812b40224ab1b49 (patch) | |
| tree | e251c22f0f563b633733c8ff91b4f301daf81267 /include | |
| parent | vmdk: implement .bdrv_detach/attach_aio_context() (diff) | |
| download | qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.tar.gz qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.tar.xz qemu-580b6b2aa2fea42ee42921ef5812b40224ab1b49.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
