qemu/hw/dataplane
Stefan Hajnoczi de0161c0d5 dataplane: handle misaligned virtio-blk requests
O_DIRECT on Linux has alignment requirements on I/O buffers and
misaligned requests result in -EINVAL.  The Linux virtio_blk guest
driver usually submits aligned requests so I forgot to handle misaligned
requests.

It turns out that virtio-win guest drivers submit misaligned requests.
Handle them using a bounce buffer that meets alignment requirements.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-01-14 10:06:57 +01:00
..
event-poll.c dataplane: add event loop 2013-01-02 15:56:21 +01:00
event-poll.h dataplane: add event loop 2013-01-02 15:56:21 +01:00
hostmem.c
hostmem.h
ioq.c dataplane: add Linux AIO request queue 2013-01-02 15:58:03 +01:00
ioq.h dataplane: add Linux AIO request queue 2013-01-02 15:58:03 +01:00
Makefile.objs dataplane: use linux-headers/ for virtio includes 2013-01-03 07:13:25 -06:00
virtio-blk.c dataplane: handle misaligned virtio-blk requests 2013-01-14 10:06:57 +01:00
virtio-blk.h dataplane: add virtio-blk data plane code 2013-01-02 16:08:47 +01:00
vring.c dataplane: add virtqueue vring code 2013-01-02 15:55:47 +01:00
vring.h dataplane: add virtqueue vring code 2013-01-02 15:55:47 +01:00