scsi-disk: Add support for port WWN and index descriptors in VPD page 83h
commit64cc22841e72d37d577416f5836155ecd0a9bfb6
authorRoland Dreier <roland@purestorage.com>
Wed, 19 Feb 2014 16:28:41 +0000 (19 08:28 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 22 Feb 2014 09:02:24 +0000 (22 10:02 +0100)
treec323c86c6253d49fd614e18e969447a28f2fb47d
parent24d3bd67aca958c8ea103646d9d326de00056e4d
scsi-disk: Add support for port WWN and index descriptors in VPD page 83h

To make a VM more convincing to my application, it's useful to be able
to add a port WWN and relative target port index to the descriptors
returned for VPD page 83h.  Add device properties to allow setting
these, and return them from INQUIRY commands.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c