Re: [libvirt] [PATCH 5/7] util: Add helper to get the scsi host name by iterating over sysfs

2013-04-08 Thread Osier Yang
On 06/04/13 03:11, John Ferlan wrote: On 03/25/2013 12:43 PM, Osier Yang wrote: The helper iterates over sysfs, to find out the matched scsi host name by comparing the wwnn,wwpn pair. It will be used by checkPool and refreshPool of storage scsi backend. New helper getAdapterName is introduced

Re: [libvirt] [PATCH 5/7] util: Add helper to get the scsi host name by iterating over sysfs

2013-04-05 Thread John Ferlan
On 03/25/2013 12:43 PM, Osier Yang wrote: The helper iterates over sysfs, to find out the matched scsi host name by comparing the wwnn,wwpn pair. It will be used by checkPool and refreshPool of storage scsi backend. New helper getAdapterName is introduced in storage_backend_scsi.c, which uses

[libvirt] [PATCH 5/7] util: Add helper to get the scsi host name by iterating over sysfs

2013-03-25 Thread Osier Yang
The helper iterates over sysfs, to find out the matched scsi host name by comparing the wwnn,wwpn pair. It will be used by checkPool and refreshPool of storage scsi backend. New helper getAdapterName is introduced in storage_backend_scsi.c, which uses the new util helper virGetFCHostNameByWWN to