From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIXw-0000bS-Bh for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxIXo-0006R0-AC for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIXn-0006QQ-TS for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:04 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5IGH3ll020953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 18 Jun 2014 12:17:03 -0400 Date: Wed, 18 Jun 2014 19:17:30 +0300 From: "Michael S. Tsirkin" Message-ID: <20140618161730.GA1087@redhat.com> References: <1402931870-17261-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1402931870-17261-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/7] virtio-scsi: do not rely on iov boundaries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Mon, Jun 16, 2014 at 05:17:43PM +0200, Paolo Bonzini wrote: > 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. > > v1->v2: missed a few replacements in patch 6 (Paolo) > never compare in_num/out_num to a non-zero value (Paolo) > do not use in_sg[0]/out_sg[0] (mst) Applied. There was a trivial conflict in the last patch, please verify the pci branch in my tree. Thanks! > 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 | 314 ++++++++++++++++++++++++---------------- > 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, 202 insertions(+), 136 deletions(-) > > -- > 1.8.3.1