mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
Acrn doesn't support nested virtualization, so vmx operations should be undefined opcode for guest. Current code handle vmx operations with unhandled_vmexit_handler. According to the spec, if guest execute vmx operation instruction, a #UD exception should be inject. This patch inject a #UD exception when guest execute vmx operation instruction. Tracked-On: #2405 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>