On 8/15/11 3:47 AM, "Stefan Berger" wrote:
> On 08/12/2011 07:14 PM, Roopa Prabhu wrote:
>> From: Roopa Prabhu
>>
>> 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 accommoda
On 8/15/11 3:58 AM, "Stefan Berger" 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 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 08/12/2011 07:14 PM, Roopa Prabhu wrote:
From: Roopa Prabhu
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
Signed-off-by: Christ
From: Roopa Prabhu
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
Signed-off-by: Christian Benvenuti
Signed-off-by: David Wang
--