qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/6] introduce SCSI channel/target/LUN addressing
Date: Fri, 30 Sep 2011 18:36:03 +0200	[thread overview]
Message-ID: <1317400569-7115-1-git-send-email-pbonzini@redhat.com> (raw)

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

             reply	other threads:[~2011-09-30 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 16:36 Paolo Bonzini [this message]
2011-09-30 16:36 ` [Qemu-devel] [PATCH 1/6] scsi: move tcq/ndev to SCSIBusOps (now SCSIBusInfo) Paolo Bonzini
2011-09-30 16:36 ` [Qemu-devel] [PATCH 2/6] qdev: switch children device list to QTAILQ Paolo Bonzini
2011-09-30 16:36 ` [Qemu-devel] [PATCH 3/6] scsi: remove devs array from SCSIBus Paolo Bonzini
2011-09-30 16:36 ` [Qemu-devel] [PATCH 4/6] scsi: implement REPORT LUNS for arbitrary LUNs Paolo Bonzini
2011-09-30 16:36 ` [Qemu-devel] [PATCH 5/6] scsi: allow " Paolo Bonzini
2011-09-30 16:36 ` [Qemu-devel] [PATCH 6/6] scsi: add channel to addressing Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317400569-7115-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).