summaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorZhao, Yu <yu.zhao@intel.com>2010-03-03 13:27:55 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-07-19 20:58:30 -0400
commitfd5b221b348adf63d413de9adad030e4f13664b7 (patch)
treed641063dc2dc94cd6e04482049a23c8d87998d04 /lib/parser.c
parent6221a9b2a11acfb54e7b41da425e961b31e88553 (diff)
downloadop-kernel-dev-fd5b221b348adf63d413de9adad030e4f13664b7.zip
op-kernel-dev-fd5b221b348adf63d413de9adad030e4f13664b7.tar.gz
xen/pciback: guest SR-IOV support for PV guest
These changes are for PV guest to use Virtual Function. Because the VF's vendor, device registers in cfg space are 0xffff, which are invalid and ignored by PCI device scan. Values in 'struct pci_dev' are fixed up by SR-IOV code, and using these values will present correct VID and DID to PV guest kernel. And command registers in the cfg space are read only 0, which means we have to emulate MMIO enable bit (VF only uses MMIO resource) so PV kernel can work properly. Acked-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud