]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce API virNodeDeviceLookupSCSIHostByWWN
authorOsier Yang <jyang@redhat.com>
Mon, 4 Feb 2013 13:03:09 +0000 (21:03 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 11 Feb 2013 16:23:57 +0000 (00:23 +0800)
commitefed366eb738ead959cfbb821d60b370a0dd585d
tree32210b029dd55eaee3811b9397ba16bf5ea0b84d
parent0ab49601a8d2900e940102a1cdfda6e15631bee4
Introduce API virNodeDeviceLookupSCSIHostByWWN

Since the name (like scsi_host10) is not stable for vHBA, (it can
be changed either after recreating or system rebooting), current
API virNodeDeviceLookupByName is not nice to use for management app
in this case. (E.g. one wants to destroy the vHBA whose name has
been changed after system rebooting, he has to find out current
name first).

Later patches will support the persistent vHBA via storage pool,
with which one can identify the vHBA stably by the wwnn && wwpn
pair.

So this new API comes.
include/libvirt/libvirt.h.in
src/driver.h
src/libvirt.c
src/libvirt_public.syms