Re: [libvirt] [PATCH 7/7] storage: Guess the parent if it's not specified for vHBA

2013-04-08 Thread Osier Yang
On 06/04/13 04:01, John Ferlan wrote: On 03/25/2013 12:43 PM, Osier Yang wrote: This finds the parent for vHBA by iterating over all the HBA which supports vport_ops capability on the host, and return the first one which is online, not saturated (vports in use is less than max_vports). --- src

Re: [libvirt] [PATCH 7/7] storage: Guess the parent if it's not specified for vHBA

2013-04-05 Thread John Ferlan
On 03/25/2013 12:43 PM, Osier Yang wrote: > This finds the parent for vHBA by iterating over all the HBA > which supports vport_ops capability on the host, and return > the first one which is online, not saturated (vports in use > is less than max_vports). > --- > src/libvirt_private.syms

[libvirt] [PATCH 7/7] storage: Guess the parent if it's not specified for vHBA

2013-03-25 Thread Osier Yang
This finds the parent for vHBA by iterating over all the HBA which supports vport_ops capability on the host, and return the first one which is online, not saturated (vports in use is less than max_vports). --- src/libvirt_private.syms | 1 + src/storage/storage_backend_scsi.c | 10 ++--