[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] xend: remove PCI device listing from NetBSD, since it's Linux



# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1311408085 -3600
# Node ID 4d5c76248de3d2b5385496b6ec5a33771cc74283
# Parent  8d22d7bc4ed454b72db3dd5e01a9e9a84c8144bc
xend: remove PCI device listing from NetBSD, since it's Linux
specific code.

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
xen-unstable changeset:   23738:88847c424eec
xen-unstable date:        Sat Jul 23 08:58:37 2011 +0100
---


diff -r 8d22d7bc4ed4 -r 4d5c76248de3 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py      Sat Jul 23 09:00:57 2011 +0100
+++ b/tools/python/xen/util/pci.py      Sat Jul 23 09:01:25 2011 +0100
@@ -462,6 +462,7 @@
     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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.