]> xenbits.xensource.com Git - libvirt.git/commit
iscsi: Add parent wwnn/wwpn or fabric capability for createVport
authorJohn Ferlan <jferlan@redhat.com>
Fri, 18 Nov 2016 12:08:37 +0000 (07:08 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 6 Jan 2017 22:15:34 +0000 (17:15 -0500)
commit78be2e8b7460352f1c5041aa670194e52149947a
tree45cfa167ed99cfd554f9d8ce67230e21b6a90801
parent8366cb0a20ffd95f1572418e95a717fa2352b4a3
iscsi: Add parent wwnn/wwpn or fabric capability for createVport

https://bugzilla.redhat.com/show_bug.cgi?id=1349696

As it turns out using only the 'parent' to achieve the goal of a
consistent vHBA parent has issues with reboots where the scsi_hostX
parent could change to scsi_hostY causing either failure to create
the vHBA or usage of the wrong HBA for our vHBA.

Thus add the ability to search for the "parent" by the parent wwnn/
wwpn values or just a fabric_name if someone only cares to ensure
usage of the same SAN for the vHBA.
src/storage/storage_backend_scsi.c