Displaying 1 result from an estimated 1 matches for "sysfs_pci_iov_initial".
2008 Sep 27
0
[PATCH 9/9] xen: add SR-IOV support to xm
...IBACK_REMOVESLOT = ''remove_slot''
+SYSFS_PCI_IOV_ENTRY = ''/iov/''
+SYSFS_PCI_IOV_RID = ''rid''
+SYSFS_PCI_IOV_ENABLE = ''enable''
+SYSFS_PCI_IOV_NUMVFS = ''numvfs''
+SYSFS_PCI_IOV_TOTAL = ''totalvfs''
+SYSFS_PCI_IOV_INITIAL = ''initialvfs''
LSPCI_CMD = ''lspci''
@@ -330,6 +338,173 @@
result = result + [dev_list]
return result
+
+def pci_dev_name(dev):
+ match = re.match(r"((?P<d>[0-9a-fA-F]{1,4})[:,])?" + \
+ r"(?P<b>[0-9a-f...