pci_cap_init: add 82599 VF quirk
commit979e0097c2de94bb1e20dd790052719c47bf6315
authorDonald Dutile <ddutile@redhat.com>
Tue, 4 Oct 2011 19:02:18 +0000 (4 15:02 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 6 Oct 2011 18:32:48 +0000 (6 15:32 -0300)
tree6eae777fd986243ab3862097b64c289e17af933c
parent22cf265794b9cd810ff4c8f277a981ab9ffc399b
pci_cap_init: add 82599 VF quirk

Add check when PCIe capability structure is version 0
and VID and DID is 82599 VF.  In this case, the size
of the PCIe cap structure should be the same as a version 2
cap structure.
Documented in 82599 Errata 35, and is still marked "No Fix".
According to Intel, it's in silicon not fw, and needs a sw workaround.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Donald Dutile <ddutile@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/device-assignment.c