From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tthle-0008L0-Kj for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:47:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tthla-0004Vu-Mr for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:47:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tthla-0004Vo-Er for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:47:38 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0BGlb7x011096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 11 Jan 2013 11:47:37 -0500 Message-ID: <50F04225.40706@redhat.com> Date: Fri, 11 Jan 2013 17:47:33 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1357918889-5817-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1357918889-5817-1-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/3] dataplane: misaligned buffers support for Windows guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Paolo Bonzini , qemu-devel@nongnu.org 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