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: improve the assignability checking

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]xend: pci: improve the assignability checking
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 2 Jun 2009 17:13:21 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: Simon Horman <horms@xxxxxxxxxxxx>
Delivery-date: Tue, 02 Jun 2009 02:15:57 -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: AcnjYmARw6J2lEnfSGuggL1y2o4Low==
Thread-topic: [PATCH]xend: pci: improve the assignability checking
1) fix some small typos in util/pci.py;
2) find_all_the_multi_functions(): BDFs of a multi-function PCIe device could 
be different in all the 3 fields (bus, device, function), so we need 
self.find_parent() and list all the BDFs below the parent;
3) to assign a device of the must-be-co-assigned devices, we require all the 
related devices should be owned by pciback;
4) detect and disallow duplicate pci string specified in guest config file due 
to carelessness.

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

Attachment: xend.pci_cleanup_and_fix.patch
Description: xend.pci_cleanup_and_fix.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>