freebsd-skq/lib/libvmmapi
Neel Natu d37f2adb38 Fix fault injection in bhyve.
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 *'.
2014-07-24 01:38:11 +00:00
..
Makefile
vmmapi_freebsd.c
vmmapi.c Fix fault injection in bhyve. 2014-07-24 01:38:11 +00:00
vmmapi.h Fix fault injection in bhyve. 2014-07-24 01:38:11 +00:00