mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: remove PCI device listing from NetBSD, since it's Linux
specific code. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
This commit is contained in:
1 parent
789bec4724
commit
b74ae3bf63
1 file changed
+1
@@ -462,6 +462,7 @@ def find_sysfs_mnt():
|
||||
return None
|
||||
|
||||
def get_all_pci_names():
|
||||
if not sys.platform.startswith('linux'): return []
|
||||
sysfs_mnt = find_sysfs_mnt()
|
||||
if sysfs_mnt is None:
|
||||
return None
|
||||
|
||||