freebsd-nq/sys/amd64/vmm/intel
Neel Natu c9c75df48c 'struct vm_exception' was intended to be used only as the collateral for the
VM_INJECT_EXCEPTION ioctl. However it morphed into other uses like keeping
track pending exceptions for a vcpu. This in turn causes confusion because
some fields in 'struct vm_exception' like 'vcpuid' make sense only in the
ioctl context. It also makes it harder to add or remove structure fields.

Fix this by using 'struct vm_exception' only to communicate information
from userspace to vmm.ko when injecting an exception.

Also, add a field 'restart_instruction' to 'struct vm_exception'. This
field is set to '1' for exceptions where the faulting instruction is
restarted after the exception is handled.

MFC after:      1 week
2015-01-13 22:00:47 +00:00
..
ept.c Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00
ept.h Don't expose 'vmm_ipinum' as a global. 2014-01-09 03:25:54 +00:00
vmcs.c Allow ktr(4) tracing of all guest exceptions via the tunable 2014-12-23 02:14:49 +00:00
vmcs.h Allow ktr(4) tracing of all guest exceptions via the tunable 2014-12-23 02:14:49 +00:00
vmx_controls.h Use the 'Virtual Interrupt Delivery' feature of Intel VT-x if supported by 2014-01-07 21:04:49 +00:00
vmx_cpufunc.h Fix issue found with clang build. Avoid code insertion by the compiler 2012-11-06 02:43:41 +00:00
vmx_genassym.c There is no need to save and restore the host's return address in the 2014-04-11 20:15:53 +00:00
vmx_msr.c Emulate writes to the IA32_MISC_ENABLE MSR. 2014-12-20 19:47:51 +00:00
vmx_msr.h Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00
vmx_support.S Fix build to not bogusly always rebuild vmm.ko. 2014-10-17 13:20:49 +00:00
vmx.c 'struct vm_exception' was intended to be used only as the collateral for the 2015-01-13 22:00:47 +00:00
vmx.h Clear blocking due to STI or MOV SS in the hypervisor when an instruction is 2015-01-06 19:04:02 +00:00
vtd.c Use the max guest memory address when creating its iommu domain. 2014-08-14 05:00:45 +00:00