From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLIx-0002pU-Eu for qemu-devel@nongnu.org; Thu, 10 Jan 2013 11:48:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtLIu-00058s-E1 for qemu-devel@nongnu.org; Thu, 10 Jan 2013 11:48:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLIu-00058e-6r for qemu-devel@nongnu.org; Thu, 10 Jan 2013 11:48:32 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0AGmV4i012039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Jan 2013 11:48:31 -0500 From: Stefan Hajnoczi Date: Thu, 10 Jan 2013 17:48:18 +0100 Message-Id: <1357836501-15555-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] dataplane: misaligned buffers support for Windows guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. 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