Displaying 2 results from an estimated 2 matches for "sysfs_mnt".
2008 Sep 27
0
[PATCH 9/9] xen: add SR-IOV support to xm
...eturn None
+
+    a = match.groupdict(''0'')
+    return "%04x:%02x:%02x.%01x" % (int(a[''d''], 16), \
+            int(a[''b''], 16), int(a[''s''], 16), int(a[''f''], 16))
+
+def pciback_add_device(dev):
+    sysfs_mnt = find_sysfs_mnt()
+    slot = sysfs_mnt + SYSFS_PCIBACK_PATH + SYSFS_PCIBACK_NEWSLOT
+    f = open(slot, ''w'')
+    f.write(dev)
+    f.close()
+
+def pciback_remove_device(dev):
+    sysfs_mnt = find_sysfs_mnt()
+    slot = sysfs_mnt + SYSFS_PCIBACK_PATH + SYSFS_PCIBACK_REMOVESLO...
2012 Apr 02
6
[PATCH 0 of 3] Patches for Xen 4.2 (v2).
Patches that were posted last week - with review comments
addressed.