K 10 svn:author V 4 ngie K 8 svn:date V 27 2016-01-03T06:33:46.249115Z K 7 svn:log V 520 MFC r279448: r279448 (by rstone): Emulate the Device ID and Vendor ID registers for VFs The SR-IOV standard requires VFs to read all-ones when the VID and DID registers are read. The VMM (hypervisor) is required to emulate them instead. Make pci_read_config() do this emulation. Change pci_user.c to use pci_read_config() to read config space registers instead of going directly to the pcib so that the emulated VID/DID registers work correctly on VFs. This is required both for pciconf and bhyve PCI passthrough. END