From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYwUq-0006sJ-Oj for qemu-devel@nongnu.org; Tue, 30 Sep 2014 08:25:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYwUl-0002y4-2R for qemu-devel@nongnu.org; Tue, 30 Sep 2014 08:25:36 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:62366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYwUk-0002wj-LE for qemu-devel@nongnu.org; Tue, 30 Sep 2014 08:25:30 -0400 Received: by mail-wi0-f171.google.com with SMTP id ho1so5483165wib.4 for ; Tue, 30 Sep 2014 05:25:24 -0700 (PDT) Received: from playground.station (net-37-116-201-55.cust.vodafonedsl.it. [37.116.201.55]) by mx.google.com with ESMTPSA id i1sm9464297wix.23.2014.09.30.05.25.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Sep 2014 05:25:23 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 30 Sep 2014 14:24:40 +0200 Message-Id: <1412079919-18857-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 00/39] SCSI changes for 2014-09-23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The following changes since commit 380f649e02f9545159dc3158d7c1b2e70c1005e3: Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2014-09-23 12:08:55 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to a9fe4c957b762dbb814c254204c082bab93c8459: block/iscsi: handle failure on malloc of the allocationmap (2014-09-30 13:30:51 +0200) ---------------------------------------------------------------- This update brings dataplane to virtio-scsi (NOT yet 100% thread-safe, though, which makes it really, really experimental. It also brings asynchronous cancellation to the SCSI subsystem and implements it in virtio-scsi. This is a pretty important feature. Almost all the work here was done by Fam Zheng. I also included the virtio refcount fixes from Gonglei, because they had a small conflict with virtio-scsi dataplane. This pull request is using the new subkey 4E6B09D7. ---------------------------------------------------------------- Fam Zheng (23): scsi: Optimize scsi_req_alloc virtio-scsi: Optimize virtio_scsi_init_req virtio-scsi: Split virtio_scsi_handle_cmd_req from virtio_scsi_handle_cmd virtio-scsi: Split virtio_scsi_handle_ctrl_req from virtio_scsi_handle_ctrl virtio-scsi: Make virtio_scsi_init_req public virtio-scsi: Make virtio_scsi_free_req public virtio-scsi: Make virtio_scsi_push_event public virtio-scsi: Add 'iothread' property to virtio-scsi virtio-scsi: Add VirtIOSCSIVring in VirtIOSCSIReq virtio-scsi-dataplane: Code to run virtio-scsi on iothread virtio-scsi: Hook up with dataplane virtio-scsi: Add migration state notifier for dataplane code virtio-scsi: Two stages processing of cmd request virtio-scsi: Batched prepare for cmd reqs virtio-scsi: Call bdrv_io_plug/bdrv_io_unplug in cmd request handling virtio-scsi: Process ".iothread" property scsi: Drop scsi_req_abort scsi-generic: Handle canceled request in scsi_command_complete scsi: Unify request unref in scsi_req_cancel scsi: Drop SCSIReqOps.cancel_io scsi: Introduce scsi_req_cancel_complete scsi: Introduce scsi_req_cancel_async virtio-scsi: Handle TMF request cancellation asynchronously Gonglei (12): virtio-net: use aliases instead of duplicate qdev properties virtio-net: fix virtio-net child refcount in transports virtio/vhost-scsi: use aliases instead of duplicate qdev properties virtio/vhost-scsi: fix virtio-scsi/vhost-scsi child refcount in transports virtio-serial: use aliases instead of duplicate qdev properties virtio-serial: fix virtio-serial child refcount in transports virtio-rng: use aliases instead of duplicate qdev properties virtio-rng: fix virtio-rng child refcount in transports virtio-balloon: fix virtio-balloon child refcount in transports virtio-9p: use aliases instead of duplicate qdev properties virtio-9p: fix virtio-9p child refcount in transports virtio: add a wrapper for virtio-backend initialization Paolo Bonzini (2): vhost-scsi: use virtio_ldl_p virtio-scsi: clean up virtio_scsi_parse_cdb Peter Lieven (2): util: introduce bitmap_try_new block/iscsi: handle failure on malloc of the allocationmap block/iscsi.c | 19 ++- hw/s390x/s390-virtio-bus.c | 38 ++--- hw/s390x/virtio-ccw.c | 42 ++--- hw/scsi/Makefile.objs | 2 +- hw/scsi/scsi-bus.c | 51 ++++-- hw/scsi/scsi-disk.c | 59 ++----- hw/scsi/scsi-generic.c | 37 +--- hw/scsi/spapr_vscsi.c | 13 +- hw/scsi/vhost-scsi.c | 5 +- hw/scsi/virtio-scsi-dataplane.c | 229 +++++++++++++++++++++++++ hw/scsi/virtio-scsi.c | 364 +++++++++++++++++++++++++++------------- hw/virtio/virtio-pci.c | 48 +++--- hw/virtio/virtio.c | 11 ++ include/hw/scsi/scsi.h | 27 ++- include/hw/virtio/virtio-scsi.h | 88 +++++++++- include/hw/virtio/virtio.h | 3 + include/qemu/bitmap.h | 13 +- 17 files changed, 755 insertions(+), 294 deletions(-) create mode 100644 hw/scsi/virtio-scsi-dataplane.c -- 1.8.3.1