Re: [libvirt] [PATCH 01/12] Introduce new public API virNodeDeviceFindByWWN

2013-01-08 Thread Osier Yang
On 2013年01月08日 01:27, Daniel P. Berrange wrote: On Tue, Jan 08, 2013 at 01:05:23AM +0800, Osier Yang wrote: Since the name (like scsi_host10) is not stable for vHBA, (it can be changed either after recreating or system rebooting), current API virNodeDeviceFindByName is not nice to use for manage

Re: [libvirt] [PATCH 01/12] Introduce new public API virNodeDeviceFindByWWN

2013-01-07 Thread Daniel P. Berrange
On Tue, Jan 08, 2013 at 01:05:23AM +0800, Osier Yang wrote: > Since the name (like scsi_host10) is not stable for vHBA, (it can > be changed either after recreating or system rebooting), current > API virNodeDeviceFindByName is not nice to use for management app > in this case. (E.g. one wants to d

[libvirt] [PATCH 01/12] Introduce new public API virNodeDeviceFindByWWN

2013-01-07 Thread Osier Yang
Since the name (like scsi_host10) is not stable for vHBA, (it can be changed either after recreating or system rebooting), current API virNodeDeviceFindByName 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,