WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.1-testing] xend: remove PCI device listing from N

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.1-testing] xend: remove PCI device listing from NetBSD, since it's Linux
From: Xen patchbot-4.1-testing <patchbot@xxxxxxx>
Date: Sat, 23 Jul 2011 15:11:08 +0100
Delivery-date: Sat, 23 Jul 2011 07:11:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.1-testing] xend: remove PCI device listing from NetBSD, since it's Linux, Xen patchbot-4 . 1-testing <=