]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix vPort management: FC vHBA creation
authorDennis Chen <xschen@tnsoft.com.cn>
Fri, 28 Jun 2013 09:59:51 +0000 (11:59 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 1 Jul 2013 11:32:05 +0000 (13:32 +0200)
commite898a9175925737b33088278fe6516e3cbbdefcd
tree17b68e7873b96db997f7fad4f10bd9e3b3dbb1b0
parentb3e3bd304d7acf45db2023f34afca4fe8521acdc
Fix vPort management: FC vHBA creation

When creating a virtual FC HBA with virsh/libvirt API, an error message
will be returned: "error: Node device not found",
also the 'nodedev-dumpxml' shows wrong information of wwpn & wwnn
for the new created device.

Signed-off-by: xschen@tnsoft.com.cn
This reverts f90af69 which switched wwpn & wwwn in the wrong place.

https://www.kernel.org/doc/Documentation/scsi/scsi_fc_transport.txt
(cherry picked from commit 3c0d5e224c71cd85b123cd938eeb360502503cb0)
src/storage/storage_backend_scsi.c
src/util/virutil.c