]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
Guest SR-IOV: Replace previous changeset with a more complete implementation from...
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Mar 2010 09:55:09 +0000 (09:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Mar 2010 09:55:09 +0000 (09:55 +0000)
commitb54d4a755be56f5879bd65c0e3d4d8f0e680166e
tree295beb5aefc5f3870ef65ad54158140e5ceb7891
parent059e40966c9747aec1916c0358c205826e3d231f
Guest SR-IOV: Replace previous changeset with a more complete implementation from Intel

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

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
drivers/xen/pciback/conf_space_header.c