freebsd-skq/sys/amd64/vmm
jhb 731da97ac4 Enable I/O MMU when PCI pass through is first used.
Rather than enabling the I/O MMU when the vmm module is loaded,
defer initialization until the first attempt to pass a PCI device
through to a guest.  If the I/O MMU fails to initialize or is not
present, than fail the attempt to pass a PCI device through to a
guest.

The hw.vmm.force_iommu tunable has been removed since the I/O MMU is
no longer enabled during boot.  However, the I/O MMU support can be
disabled by setting the hw.vmm.iommu.enable tunable to 0 to prevent
use of the I/O MMU on any systems where it is buggy.

Reviewed by:	grehan
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D7448
2016-08-26 20:15:22 +00:00
..
amd vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00
intel vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00
io Enable I/O MMU when PCI pass through is first used. 2016-08-26 20:15:22 +00:00
vmm_dev.c Move the 'devmem' device nodes from /dev/vmm to /dev/vmm.io 2015-07-06 19:41:43 +00:00
vmm_host.c
vmm_host.h
vmm_instruction_emul.c vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00
vmm_ioport.c Don't require <sys/cpuset.h> to be always included before <machine/vmm.h>. 2015-04-30 22:23:22 +00:00
vmm_ioport.h
vmm_ktr.h
vmm_lapic.c
vmm_lapic.h
vmm_mem.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
vmm_mem.h Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
vmm_stat.c vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00
vmm_stat.h Fix non-deterministic delays when accessing a vcpu that was in "running" or 2015-05-28 17:37:01 +00:00
vmm_util.c
vmm_util.h
vmm.c Enable I/O MMU when PCI pass through is first used. 2016-08-26 20:15:22 +00:00
x86.c Do a proper emulation of guest writes to MSR_EFER. 2015-05-06 05:40:20 +00:00
x86.h Do a proper emulation of guest writes to MSR_EFER. 2015-05-06 05:40:20 +00:00