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-devel

[Xen-devel] [PATCH] xend: pci: only extract the exact pci BDFs

To: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, 'xen-devel' <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xend: pci: only extract the exact pci BDFs
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 4 Jun 2009 14:46:45 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Wed, 03 Jun 2009 23:48:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnk4Dodc9kMCrXiTFyWjt/dQiLyHA==
Thread-topic: [PATCH] xend: pci: only extract the exact pci BDFs
On some hosts:
[root@localhost ~]# ls /sys/bus/pci/devices/0000:00:05.0/
0000:00:05.0:pcie00  0000:05:00.0          class   driver  local_cpus  resource 
         subsystem_vendor
0000:00:05.0:pcie01  broken_parity_status  config  enable  modalias    
subsystem         uevent
0000:00:05.0:pcie02  bus                   device  irq     power       
subsystem_device  vendor

Here we should only get 0000:05:00.0, but we also get 0000:00:05.0 unexpectedly.
With the ptach, xend only extracts the exact BDF(s).

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>

Attachment: extract_the_exact_pci_names.patch
Description: extract_the_exact_pci_names.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xend: pci: only extract the exact pci BDFs, Cui, Dexuan <=