summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-12 12:29:57 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:37:08 -0600
commit5a9f117c36160dc7b538d6233d3b06864b66a4c5 (patch)
tree79313dce2bdb3e18bda223d61c27186324c26d04 /include
parent035936d86e0e058b77a4685c1397b75a82ee210c (diff)
downloadhqemu-5a9f117c36160dc7b538d6233d3b06864b66a4c5.zip
hqemu-5a9f117c36160dc7b538d6233d3b06864b66a4c5.tar.gz
scsi-generic: grab device and port SAS addresses from backend
This lets a SAS adapter expose them through its own configuration mechanism. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/scsi/scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h
index bbabba2..29052f8 100644
--- a/include/hw/scsi/scsi.h
+++ b/include/hw/scsi/scsi.h
@@ -273,6 +273,7 @@ void scsi_device_purge_requests(SCSIDevice *sdev, SCSISense sense);
void scsi_device_set_ua(SCSIDevice *sdev, SCSISense sense);
void scsi_device_report_change(SCSIDevice *dev, SCSISense sense);
void scsi_device_unit_attention_reported(SCSIDevice *dev);
+void scsi_generic_read_device_identification(SCSIDevice *dev);
int scsi_device_get_sense(SCSIDevice *dev, uint8_t *buf, int len, bool fixed);
SCSIDevice *scsi_device_find(SCSIBus *bus, int channel, int target, int lun);
OpenPOWER on IntegriCloud