]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
passthrough: support the assignment of the VF of Intel 82599 10GbE Controller
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>
Tue, 4 Aug 2009 14:28:14 +0000 (15:28 +0100)
commita77dc89dde1b8b9331c0f746e34389d6a253755f
tree60d4d56e48356686befd663009d51c8fd5d55bbc
parent6b80a2a8075edb610bc84e130a82caf151de4f15
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>
hw/pass-through.c
hw/pci.h