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] RE: [PATCH][ioemu] support the assignment of the VF of Intel

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH][ioemu] support the assignment of the VF of Intel 82599 10GbE Controller
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Wed, 5 Aug 2009 13:16:39 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 04 Aug 2009 22:17:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19064.17865.245036.788707@xxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <EADF0A36011179459010BDF5142A457501CB84D148@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19064.17865.245036.788707@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoVD/7GCivrOEvHR9C5VZyaRWYvuQAYSAEg
Thread-topic: [PATCH][ioemu] support the assignment of the VF of Intel 82599 10GbE Controller
Ian Jackson wrote:
> Cui, Dexuan writes ("[PATCH][ioemu] support the assignment of the VF
> of Intel 82599 10GbE Controller"): 
>> The datasheet is available at
>> http://download.intel.com/design/network/datashts/82599_datasheet.pdf
>> 
>> See 'Table 9.7. VF PCIe Configuration Space' of the datasheet, the
>> PCI Express Capability Structure of the VF of Intel 82599 10GbE
>> Controller looks trivial, e.g., the PCI Express Capabilities
>> Register is 0, so the Capability Version is 0 and
>> pt_pcie_size_init() would fail. 
>> 
>> We should not try to expose the PCIe cap of the device to guest.
> 
> I've applied this for now but it seems a bit ugly to code in the
> device IDs in this way.
Thanks.

>  Couldn't we instead detect this situation
> programmatically ?  Alternatively, if this is going to happen for
> other devices, do we want to provide a proper whitelist in the form of
> a table ?
Using the patch (yes, that's a quirk) I think we can have the least change.
I'm not sure if there are other devices having the same issue.
I think we can wait to see if there are so many such devices that we can make a 
table. :-)

Thanks,
-- Dexuan


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