[libvirt] [PATCH v2 03/14] nodedev: Need to check for vport capable scsi_host for vHBA searches

Peter Krempa pkrempa at redhat.com
Fri May 26 07:11:49 UTC 2017

On Thu, May 25, 2017 at 15:57:00 -0400, John Ferlan wrote:
> When searching for an NPIV capable fc_host, not only does there need to
> be an "fc_host" capability with the specified wwnn/wwpn or fabric_wwn,
> but that scsi_host must be vport capable; otherwise, one could end up
> picking an exising vHBA/NPIV which wouldn't be good.
> Currently not a problem since scsi_hosts are in an as found forward linked
> list and the vport capable scsi_hosts will always appear before a vHBA by
> definition. However, in the near term future a hash table will be used to
> lookup the devices and that could cause problems for these algorithms.
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/conf/virnodedeviceobj.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170526/26d3281c/attachment-0001.sig>

More information about the libvir-list mailing list