From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv3or-0003Ey-I5 for qemu-devel@nongnu.org; Thu, 12 Jun 2014 08:09:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv3og-0001zz-T6 for qemu-devel@nongnu.org; Thu, 12 Jun 2014 08:09:25 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:59662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv3og-0001zp-ND for qemu-devel@nongnu.org; Thu, 12 Jun 2014 08:09:14 -0400 Received: by mail-we0-f172.google.com with SMTP id u57so1195731wes.17 for ; Thu, 12 Jun 2014 05:09:14 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 12 Jun 2014 14:09:01 +0200 Message-Id: <1402574948-11203-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] virtio-scsi: do not rely on iov boundaries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: famz@redhat.com, mst@redhat.com The upcoming virtio 1.0 standard requires virtio devices not to rely on iov boundaries when parsing requests or sending responses. This series converts virtio-scsi. Please review. Patch 3 is a free bugfix that is easier after the previous patch. Paolo Paolo Bonzini (7): util: add return value to qemu_iovec_concat_iov virtio-scsi: start preparing for any_layout virtio-scsi: add target swap for VirtIOSCSICtrlTMFReq fields virtio-scsi: add extra argument and return type to qemu_sgl_concat virtio-scsi: prepare sense data handling for any_layout virtio-scsi: introduce virtio_scsi_complete_cmd_req virtio-scsi: add support for the any_layout feature hw/scsi/virtio-scsi.c | 280 ++++++++++++++++++++++++---------------- include/hw/i386/pc.h | 4 + include/hw/virtio/virtio-scsi.h | 4 +- include/qemu-common.h | 6 +- util/iov.c | 10 +- 5 files changed, 185 insertions(+), 119 deletions(-) -- 1.9.3