acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu c6d2908f70 hv: vmexit: add handler for vmexit not supported for guest
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>
2019-01-29 13:13:38 +08:00
..
guest.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00
instr_emul.c HV: modularization cleanup instr_emul header file 2019-01-22 10:50:30 +08:00
pm.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00
ucode.c hv: refine coding style for ucode.c 2018-12-19 09:44:42 +08:00
vcpu.c hv: fix possible buffer overflow in 'vcpu_set_eoi_exit()' 2019-01-25 11:26:45 +08:00
vcpuid.c hv: extend lapic pass-through for DM launched VM 2019-01-28 19:47:33 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: fix misra-c violations in reused partition mode functions 2019-01-29 09:50:07 +08:00
vm.c hv:Move several inline APIs from vm.h to *.c 2019-01-29 11:29:59 +08:00
vmcall.c hv: vmexit: add handler for vmexit not supported for guest 2019-01-29 13:13:38 +08:00
vmsr.c hv: extend lapic pass-through for DM launched VM 2019-01-28 19:47:33 +08:00
vmtrr.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00