All of lore.kernel.org
 help / color / mirror / Atom feed
* xend: removed PCI device listing from non Linux OS, since it's Linux specific code.
@ 2011-07-22 12:42 Roger Pau Monné
  2011-07-22 12:57 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Pau Monné @ 2011-07-22 12:42 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 50 bytes --]

Removed PCI device listing from non-Linux guests.

[-- Attachment #2: patch-xend-pci --]
[-- Type: application/octet-stream, Size: 699 bytes --]

# HG changeset patch
# User royger
# Date 1311345851 -7200
# Node ID efbfe76448168516daeb4e60b8d69eeba23ca2d7
# Parent  cc91b131c788992d6ab9aa3803d60ccb4d46ca74
xend: removed PCI device listing from NetBSD, since it's Linux specific code.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>

diff -r cc91b131c788 -r efbfe7644816 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py	Fri Jul 22 16:38:05 2011 +0200
+++ b/tools/python/xen/util/pci.py	Fri Jul 22 16:44:11 2011 +0200
@@ -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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xend: removed PCI device listing from non Linux OS, since it's Linux specific code.
  2011-07-22 12:42 xend: removed PCI device listing from non Linux OS, since it's Linux specific code Roger Pau Monné
@ 2011-07-22 12:57 ` Ian Campbell
  2011-07-22 13:19   ` Christoph Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2011-07-22 12:57 UTC (permalink / raw)
  To: Roger Pau Monné; +Cc: xen-devel@lists.xensource.com

On Fri, 2011-07-22 at 13:42 +0100, Roger Pau Monné wrote:
> Removed PCI device listing from non-Linux guests.

Acked-by: Ian Campbell <ian.campbell@citrix.com>

(procedural note, can you inline your patches as well as attaching them
please, it's easier to review that way. Thanks)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xend: removed PCI device listing from non Linux OS, since it's Linux specific code.
  2011-07-22 12:57 ` Ian Campbell
@ 2011-07-22 13:19   ` Christoph Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Egger @ 2011-07-22 13:19 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Roger Pau Monné, xen-devel@lists.xensource.com

On 07/22/11 14:57, Ian Campbell wrote:
> On Fri, 2011-07-22 at 13:42 +0100, Roger Pau Monné wrote:
>> Removed PCI device listing from non-Linux guests.
>
> Acked-by: Ian Campbell<ian.campbell@citrix.com>
>
> (procedural note, can you inline your patches as well as attaching them
> please, it's easier to review that way. Thanks)

Acked-by: Christoph Egger <Christoph.Egger@amd.com>

Please apply this to the xen-4.1-testing tree, too.

Christoph

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-22 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 12:42 xend: removed PCI device listing from non Linux OS, since it's Linux specific code Roger Pau Monné
2011-07-22 12:57 ` Ian Campbell
2011-07-22 13:19   ` Christoph Egger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.