aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-01-11 16:41:29 +0100
committerKevin Wolf <kwolf@redhat.com>2013-01-14 10:06:57 +0100
commitde0161c0d553f2aaf6118ca87f978a5e6b4a9732 (patch)
treef596da5ee25049899eeeeebab9aff28ca54bf06e /net
parentb5ef1aab945c1b04740574064b13eb93f1572587 (diff)
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions