mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
d37f2adb38
The faulting instruction needs to be restarted when the exception handler is done handling the fault. bhyve now does this correctly by setting 'vmexit[vcpu].inst_length' to zero so the %rip is not advanced. A minor complication is that the fault injection APIs are used by instruction emulation code that is shared by vmm.ko and bhyve. Thus the argument that refers to 'struct vm *' in kernel or 'struct vmctx *' in userspace needs to be loosely typed as a 'void *'. |
||
---|---|---|
.. | ||
Makefile | ||
vmmapi_freebsd.c | ||
vmmapi.c | ||
vmmapi.h |