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

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


  • To: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, 'xen-devel' <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

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