]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
passthrough: support the assignment of the VF of Intel 82599 10GbE Controller xen-3.4.2-rc2
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 4 Aug 2009 14:28:14 +0000 (15:28 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 23 Oct 2009 09:57:09 +0000 (10:57 +0100)
commit2408b22f9f976898983002c0b41080fa50fa9be0
tree366cd4499ecc99f7f0cdc04dc52c918782e6dbcc
parentdb34a17dce954b14efe2899ce5be0bcb3f06e512
passthrough: 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.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
(cherry picked from commit a77dc89dde1b8b9331c0f746e34389d6a253755f)
hw/pass-through.c
hw/pci.h