From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9gjb-0006Mb-GC for qemu-devel@nongnu.org; Fri, 30 Sep 2011 13:18:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9gja-0008La-CK for qemu-devel@nongnu.org; Fri, 30 Sep 2011 13:18:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9gja-0008LW-3e for qemu-devel@nongnu.org; Fri, 30 Sep 2011 13:18:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8UGar8J019197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 30 Sep 2011 12:36:54 -0400 Received: from yakj.usersys.redhat.com (ovpn-112-17.ams2.redhat.com [10.36.112.17]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8UGapZw013790 for ; Fri, 30 Sep 2011 12:36:52 -0400 From: Paolo Bonzini Date: Fri, 30 Sep 2011 18:36:03 +0200 Message-Id: <1317400569-7115-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] introduce SCSI channel/target/LUN addressing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch introduces the possibility to address SCSI devices by channel/target/LUN. New properties are introduced to define the address. The implementation is pretty trivial, and thanks to the ReqOps mechanism does not require introducing dummy devices representing channels and targets. For QEMU 1.0 the only piece missing now is migration support. Next will be 1) scatter/gather, 2) hotplug, 3) asynchronous events, which will be added when there will be a user. Paolo Bonzini (6): scsi: move tcq/ndev to SCSIBusOps (now SCSIBusInfo) qdev: switch children device list to QTAILQ scsi: remove devs array from SCSIBus scsi: implement REPORT LUNS for arbitrary LUNs scsi: allow arbitrary LUNs scsi: add channel to addressing hw/acpi_piix4.c | 4 +- hw/esp.c | 13 +++- hw/i2c.c | 2 +- hw/intel-hda.c | 6 +- hw/lsi53c895a.c | 30 ++++------ hw/qdev.c | 24 ++++---- hw/qdev.h | 4 +- hw/s390-virtio-bus.c | 4 +- hw/scsi-bus.c | 153 ++++++++++++++++++++++++++++++++++---------------- hw/scsi-disk.c | 2 +- hw/scsi.h | 16 +++--- hw/spapr_vio.c | 6 +- hw/spapr_vscsi.c | 54 +++++++++++++---- hw/ssi.c | 6 +- hw/usb-msd.c | 8 ++- 15 files changed, 210 insertions(+), 122 deletions(-) -- 1.7.6