mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +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> xen-unstable changeset: 23738:88847c424eec xen-unstable date: Sat Jul 23 08:58:37 2011 +0100
This commit is contained in:
1 parent
799262d12a
commit
766ecd0fe9
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
|
||||
|
||||