Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exiting on CR0 write for unrestricted guests (#883)
vcpu::set_eptp() didn't disable exiting on writes to CR0. On the first run (BSP) handlers were set as if there was no support for unrestricted guests. Default handler for CR0 writes called emulate_ia_32e_mode_switch(), which doesn't allow for switches between all modes. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
- Loading branch information