Re: [libvirt] [PATCH 1/4 v3] pci: Add two new pci utils pciDeviceGetVirtualFunctionInfo and pciConfigAddressToSysfsFile

2012-03-06 Thread Laine Stump
On 03/05/2012 08:12 PM, Roopa Prabhu wrote: > From: Roopa Prabhu > > pciDeviceGetVirtualFunctionInfo returns pf netdevice name and virtual > function index for a given vf. This is just a wrapper around existing > functions > to return vf's pf and vf_index with one api call > > pciConfigAddressToS

[libvirt] [PATCH 1/4 v3] pci: Add two new pci utils pciDeviceGetVirtualFunctionInfo and pciConfigAddressToSysfsFile

2012-03-05 Thread Roopa Prabhu
From: Roopa Prabhu pciDeviceGetVirtualFunctionInfo returns pf netdevice name and virtual function index for a given vf. This is just a wrapper around existing functions to return vf's pf and vf_index with one api call pciConfigAddressToSysfsfile returns the sysfile pci device link from a 'struct