Bareflank / hypervisor

lightweight hypervisor SDK written in C++ with support for Windows, Linux and UEFI
Other
1.36k stars 207 forks source link

First VMExit Failure Logic #938

Closed rianquinn closed 3 years ago

rianquinn commented 3 years ago

This patch cleans up the first VMExit failure logic so that it actually makes sense and works as intended. Now, if you have an exception, or error on your first exit, the hypervior will gracefully exit instead of halting, or pretending to gracefully exit when in fact it was just getting luck.