[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/3] dataplane: misaligned buffers support fo
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/3] dataplane: misaligned buffers support for Windows guests |
Date: |
Fri, 11 Jan 2013 17:47:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 11.01.2013 16:41, schrieb Stefan Hajnoczi:
> Windows guests do not work with x-data-plane=on because misaligned request
> support is missing in hw/dataplane/virtio-blk.c. This series adds a bounce
> buffer when the request is misaligned. Windows guests now work with
> x-data-plane=on.
>
> v3:
> * Use iov/iov_cnt before modifying them in do_rdwr_cmd() [Kevin, Paolo]
> * Keep bounce buffer iovec alive across io_submit() [Stefan]
> * New & improved! Now tested against Linux in addition to Windows guests.
> [Paolo]
>
> v2:
> * Use qemu_iovec_from_buffer() on read completion, not
> qemu_iovec_to_buffer() [Stefan]
>
> Stefan Hajnoczi (3):
> block: make qiov_is_aligned() public
> dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()
> dataplane: handle misaligned virtio-blk requests
>
> block.c | 16 +++++++++++
> block/raw-posix.c | 18 +-----------
> hw/dataplane/virtio-blk.c | 71
> +++++++++++++++++++++++++++++++++++++++--------
> include/block/block.h | 1 +
> 4 files changed, 78 insertions(+), 28 deletions(-)
Thanks, applied all to the block branch.
Kevin