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

[Xen-devel] Re: [PATCH][ioemu] support the assignment of the VF of Intel 82599 10GbE Controller



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.  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 ?

Ian.

_______________________________________________
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®.