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:
Roger Pau Monne committed 2011-07-23 08:58:37 +01:00
1 parent 789bec4724
commit b74ae3bf63
1 file changed
+1
+1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.