On 08/12/2011 07:14 PM, Roopa Prabhu wrote:
From: Roopa Prabhuropra...@cisco.com
This patch moves some of the sriov related pci code from node_device driver
to src/util/pci.[ch]. Some functions had to go thru name and argument list
change to accommodate the move.
Signed-off-by: Roopa
On 08/12/2011 07:14 PM, Roopa Prabhu wrote:
-get_physical_function(sysfs_path, d);
-get_virtual_functions(sysfs_path, d);
+if (!pciGetPhysicalFunction(sysfs_path,d-pci_dev.physical_function))
+d-pci_dev.flags |= VIR_NODE_DEV_CAP_FLAG_PCI_PHYSICAL_FUNCTION;
+
On 8/15/11 3:58 AM, Stefan Berger stef...@linux.vnet.ibm.com wrote:
On 08/12/2011 07:14 PM, Roopa Prabhu wrote:
-get_physical_function(sysfs_path, d);
-get_virtual_functions(sysfs_path, d);
+if
(!pciGetPhysicalFunction(sysfs_path,d-pci_dev.physical_function))
+
On 8/15/11 3:47 AM, Stefan Berger stef...@linux.vnet.ibm.com wrote:
On 08/12/2011 07:14 PM, Roopa Prabhu wrote:
From: Roopa Prabhuropra...@cisco.com
This patch moves some of the sriov related pci code from node_device driver
to src/util/pci.[ch]. Some functions had to go thru name and
From: Roopa Prabhu ropra...@cisco.com
This patch moves some of the sriov related pci code from node_device driver
to src/util/pci.[ch]. Some functions had to go thru name and argument list
change to accommodate the move.
Signed-off-by: Roopa Prabhu ropra...@cisco.com
Signed-off-by: Christian