qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] dataplane: misaligned buffers support for Windows guests
@ 2013-01-11 12:34 Stefan Hajnoczi
  2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 1/3] block: make qiov_is_aligned() public Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2013-01-11 12:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, 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.

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 | 67 +++++++++++++++++++++++++++++++++++++++--------
 include/block/block.h     |  1 +
 4 files changed, 74 insertions(+), 28 deletions(-)

-- 
1.8.0.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-11 15:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 12:34 [Qemu-devel] [PATCH v2 0/3] dataplane: misaligned buffers support for Windows guests Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 1/3] block: make qiov_is_aligned() public Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 2/3] dataplane: extract virtio-blk read/write processing into do_rdwr_cmd() Stefan Hajnoczi
2013-01-11 12:34 ` [Qemu-devel] [PATCH v2 3/3] dataplane: handle misaligned virtio-blk requests Stefan Hajnoczi
2013-01-11 13:28   ` Paolo Bonzini
2013-01-11 14:40     ` Stefan Hajnoczi
2013-01-11 15:50       ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).