freebsd-dev/sys/amd64/vmm
John Baldwin da0fc9250c Reset PCI pass through devices via PCI-e FLR during VM start and end.
Add routines to trigger a function level reset (FLR) of a PCI-express
device via the PCI-express device control register.  This also includes
support routines to wait for pending transactions to complete as well
as calculating the maximum completion timeout permitted by a device.

Change the ppt(4) driver to reset pass through devices before attaching
to a VM during startup and before detaching from a VM during shutdown.

Reviewed by:	imp, wblock (earlier version)
MFC after:	1 month
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D7751
2016-09-06 21:15:35 +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 Reset PCI pass through devices via PCI-e FLR during VM start and end. 2016-09-06 21:15:35 +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 - Rework the XSAVE/XRSTOR emulation to only expose XCR0 features to the 2014-05-27 19:04:38 +00:00
vmm_host.h Add virtualized XSAVE support to bhyve which permits guests to use XSAVE and 2014-02-08 16:37:54 +00:00
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 Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vmm_ktr.h Add emulation of the "outsb" instruction. NetBSD guests use this to write to 2014-05-23 05:15:17 +00:00
vmm_lapic.c Relax the check on which vectors can be delivered through the APIC. According 2015-04-16 22:44:51 +00:00
vmm_lapic.h Roll back botched partial MFC :( 2014-02-04 05:03:14 +00:00
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