freebsd-skq/lib/libvmmapi
Neel Natu 091d453222 Handle nested exceptions in bhyve.
A nested exception condition arises when a second exception is triggered while
delivering the first exception. Most nested exceptions can be handled serially
but some are converted into a double fault. If an exception is generated during
delivery of a double fault then the virtual machine shuts down as a result of
a triple fault.

vm_exit_intinfo() is used to record that a VM-exit happened while an event was
being delivered through the IDT. If an exception is triggered while handling
the VM-exit it will be treated like a nested exception.

vm_entry_intinfo() is used by processor-specific code to get the event to be
injected into the guest on the next VM-entry. This function is responsible for
deciding the disposition of nested exceptions.
2014-07-19 20:59:08 +00:00
..
Makefile Remove mptable generation code from libvmmapi and move it to bhyve. 2012-10-26 13:40:12 +00:00
vmmapi_freebsd.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
vmmapi.c Handle nested exceptions in bhyve. 2014-07-19 20:59:08 +00:00
vmmapi.h Handle nested exceptions in bhyve. 2014-07-19 20:59:08 +00:00