This implements a WIP feature extention being proposed on virtio-scsi. We assign a set of Fibre Channel properties, WWNN and WWPN (world wide node name and port name, respectively) to the device so the virtual device presents a FC transport in guest. They are useful to identify a host side virtual port on an FC host, in a NPIV (N_Port ID Virtualization) senario.
The linux driver changes are submitted as: https://lkml.org/lkml/2017/1/16/439 Fam Zheng (2): manual update linux header for virtio scsi fc_host virtio-scsi: Implement fc_host feature hw/scsi/virtio-scsi.c | 60 ++++++++++++++++++++++++++++ include/hw/virtio/virtio-scsi.h | 10 +++++ include/standard-headers/linux/virtio_scsi.h | 6 +++ 3 files changed, 76 insertions(+) -- 2.9.3