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>
This commit is contained in:
Paolo Bonzini 2016-01-12 11:47:00 +01:00
parent a0aa44b488
commit 2ecab4084f
2 changed files with 12 additions and 12 deletions

View file

@ -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;