Re: [libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice

2012-06-12 Thread Laine Stump
On 06/11/2012 01:14 PM, Laine Stump wrote: On 06/11/2012 11:50 AM, Daniel P. Berrange wrote: On Fri, Jun 08, 2012 at 04:29:14PM +0100, Shradha Shah wrote: @@ -925,6 +931,44 @@ error: return result; } +/* Function to compare strings with wildcard strings*/ +/* When editing this

Re: [libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice

2012-06-12 Thread Daniel P. Berrange
On Tue, Jun 12, 2012 at 12:03:02PM -0400, Laine Stump wrote: On 06/11/2012 01:14 PM, Laine Stump wrote: On 06/11/2012 11:50 AM, Daniel P. Berrange wrote: On Fri, Jun 08, 2012 at 04:29:14PM +0100, Shradha Shah wrote: @@ -925,6 +931,44 @@ error: return result; } +/* Function

Re: [libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice

2012-06-11 Thread Daniel P. Berrange
On Fri, Jun 08, 2012 at 04:29:14PM +0100, Shradha Shah wrote: @@ -925,6 +931,44 @@ error: return result; } +/* Function to compare strings with wildcard strings*/ +/* When editing this function also edit the one in src/network/bridge_driver.c*/ +static int +wildcmp(const char

Re: [libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice

2012-06-11 Thread Laine Stump
On 06/11/2012 11:50 AM, Daniel P. Berrange wrote: On Fri, Jun 08, 2012 at 04:29:14PM +0100, Shradha Shah wrote: @@ -925,6 +931,44 @@ error: return result; } +/* Function to compare strings with wildcard strings*/ +/* When editing this function also edit the one in

[libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice

2012-06-08 Thread Shradha Shah
The network pool should be able to keep track of both, network device names nad PCI addresses, and return the appropriate one in the actualDevice when networkAllocateActualDevice is called. Signed-off-by: Shradha Shah ss...@solarflare.com --- src/conf/network_conf.c | 55