freebsd-skq/sys/amd64/vmm
John Baldwin 6a1e1c2c48 Simplify bhyve vlapic ESR logic.
The bhyve virtual local APIC uses an instance-global flag to indicate
when an error LVT is being delivered to prevent infinite recursion.
Use a function argument instead to reduce the amount of instance-global
state.

This was inspired by reviewing the bhyve save/restore work, which
saves a copy of the instance-global state for each vlapic.

Smart OS bug:	https://smartos.org/bugview/OS-7777
Submitted by:	Patrick Mooney
Reviewed by:	markj, rgrimes
Obtained from:	SmartOS / Joyent
Differential Revision:	https://reviews.freebsd.org/D20365
2019-08-29 18:23:38 +00:00
..
amd Use get_pcpu() to fetch the current CPU's pcpu pointer. 2019-08-28 23:40:57 +00:00
intel Use designated initializers for vmm_ops. 2019-08-07 19:45:44 +00:00
io Simplify bhyve vlapic ESR logic. 2019-08-29 18:23:38 +00:00
vmm_dev.c Fix syntax. 2019-07-12 19:14:52 +00:00
vmm_host.c Correct undesirable interaction between caching of %cr4 in bhyve and 2018-04-24 13:44:19 +00:00
vmm_host.h Use get_pcpu() to fetch the current CPU's pcpu pointer. 2019-08-28 23:40:57 +00:00
vmm_instruction_emul.c Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H). 2019-06-26 21:19:43 +00:00
vmm_ioport.c Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
vmm_ioport.h Add SPDX tags to vmm(4). 2018-06-13 07:02:58 +00:00
vmm_ktr.h sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
vmm_lapic.c vmx: use C99 bool, not boolean_t 2019-08-01 02:16:48 +00:00
vmm_lapic.h vmx: use C99 bool, not boolean_t 2019-08-01 02:16:48 +00:00
vmm_mem.c sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
vmm_mem.h sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
vmm_stat.c Add accessor function for vm->maxcpus 2019-04-25 22:51:36 +00:00
vmm_stat.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vmm_util.c vmx: use C99 bool, not boolean_t 2019-08-01 02:16:48 +00:00
vmm_util.h vmx: use C99 bool, not boolean_t 2019-08-01 02:16:48 +00:00
vmm.c vmx: use C99 bool, not boolean_t 2019-08-01 02:16:48 +00:00
x86.c Expose the MD_CLEAR capability used by Intel MDS mitigations to guests. 2019-05-18 21:20:38 +00:00
x86.h vmm(4): Take steps towards multicore bhyve AMD support 2019-01-16 02:19:04 +00:00