diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-12 11:47:00 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:37:08 -0600 |
commit | 035936d86e0e058b77a4685c1397b75a82ee210c (patch) | |
tree | 890ae0355f902e11b359cf8ef4de9e8eae89a1d2 /include | |
parent | 617349a16726bc797ac49e1c773aca3e68644688 (diff) | |
download | hqemu-035936d86e0e058b77a4685c1397b75a82ee210c.zip hqemu-035936d86e0e058b77a4685c1397b75a82ee210c.tar.gz |
scsi: push WWN fields up to SCSIDevice
SAS adapters need to access them in order to publish the SAS addresses
of the end devices connected to them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/scsi/scsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h index 1915a73..bbabba2 100644 --- a/include/hw/scsi/scsi.h +++ b/include/hw/scsi/scsi.h @@ -108,6 +108,8 @@ struct SCSIDevice int blocksize; int type; uint64_t max_lba; + uint64_t wwn; + uint64_t port_wwn; }; extern const VMStateDescription vmstate_scsi_device; |