scsi: introduce SCSIBusOps
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Apr 2011 15:11:14 +0000 (17:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:14 +0000 (12:14 +0200)
commit3273cc7c9a060ba33937067d48184d0f2285b8b6
tree3f7da29f2bb352933928902c461c33bde5026d85
parentf776bfb23e163db2691b49dc9cde8d696beed5aa
scsi: introduce SCSIBusOps

There are more operations than a SCSI bus can handle, besides completing
commands.  One example, which this series will introduce, is cleaning up
after a request is cancelled.

More long term, a "SCSI bus" can represent the LUNs attached to a
target; in this case, while all commands will ultimately reach a logical
unit, it is the target who is in charge of answering REPORT LUNs.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
hw/esp.c
hw/lsi53c895a.c
hw/scsi-bus.c
hw/scsi-generic.c
hw/scsi.h
hw/spapr_vscsi.c
hw/usb-msd.c