scsi: introduce SCSIBusOps
commitcfdc1bb06ee4cd3a7e4aa0ebf14b00c0ce3a5e94
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Apr 2011 15:11:14 +0000 (18 17:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:14 +0000 (26 12:14 +0200)
tree3f7da29f2bb352933928902c461c33bde5026d85
parentab9adc88c80186cfef29bda076363e20aa675241
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