qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH v3 0/3] dataplane: misaligned buffers support for Windows guests
Date: Fri, 11 Jan 2013 16:41:26 +0100	[thread overview]
Message-ID: <1357918889-5817-1-git-send-email-stefanha@redhat.com> (raw)

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(-)

-- 
1.8.0.2

             reply	other threads:[~2013-01-11 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 15:41 Stefan Hajnoczi [this message]
2013-01-11 15:41 ` [Qemu-devel] [PATCH v3 1/3] block: make qiov_is_aligned() public Stefan Hajnoczi
2013-01-11 15:41 ` [Qemu-devel] [PATCH v3 2/3] dataplane: extract virtio-blk read/write processing into do_rdwr_cmd() Stefan Hajnoczi
2013-01-11 15:41 ` [Qemu-devel] [PATCH v3 3/3] dataplane: handle misaligned virtio-blk requests Stefan Hajnoczi
2013-01-11 16:47 ` [Qemu-devel] [PATCH v3 0/3] dataplane: misaligned buffers support for Windows guests Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1357918889-5817-1-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).