acrn-hypervisor/hypervisor/arch/x86/guest
Victor Sun 901a65cb53 HV: inject exception for invalid vmcall
For non-trusty hypercalls, HV should inject #GP(0) to vCPU if they are
from non-ring0 or inject #UD if they are from ring0 of non-SOS. Also
we should not modify RAX of vCPU for these invalid vmcalls.

Tracked-On: #3497

Signed-off-by: Victor Sun <victor.sun@intel.com>
2019-08-01 16:07:57 +08:00
..
assign.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
ept.c hv: ept: mask EPT leaf entry bit 52 to bit 63 in gpa2hpa 2019-07-03 09:39:41 +08:00
guest_memory.c HV: remove unused function copy_to_gva 2019-05-22 16:36:03 +08:00
instr_emul.c HV: remove instr_emul.c dead code 2019-07-09 09:22:53 +08:00
pm.c hv: schedule: schedule to idel after SOS resume form S3 2019-07-29 09:53:18 +08:00
trusty.c HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
ucode.c
vcpu.c hv: schedule: schedule to idel after SOS resume form S3 2019-07-29 09:53:18 +08:00
vcpuid.c HV: return extended info in vCPUID leaf 0x40000001 2019-07-31 14:13:39 +08:00
virq.c hv: remove unnecessary cancel_event_injection related stuff 2019-07-09 09:23:12 +08:00
virtual_cr.c hv: vmcs: don't trap when setting reserved bit in cr0/cr4 2019-05-30 11:33:01 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv: schedule: schedule to idel after SOS resume form S3 2019-07-29 09:53:18 +08:00
vm_reset.c hv: vm_manage: minor fix about triple_fault_shutdown_vm 2019-07-03 17:44:45 +08:00
vm.c hv: schedule: schedule to idel after SOS resume form S3 2019-07-29 09:53:18 +08:00
vmcall.c HV: inject exception for invalid vmcall 2019-08-01 16:07:57 +08:00
vmcs.c HV: Enable vART support by intercepting TSC_ADJUST MSR 2019-07-31 13:29:51 +08:00
vmexit.c hv: refine handler to 'rdpmc' vmexit 2019-07-24 15:05:46 +08:00
vmsr.c HV: Enable vART support by intercepting TSC_ADJUST MSR 2019-07-31 13:29:51 +08:00
vmtrr.c hv: ept: unify EPT API name to verb-object style 2019-06-14 14:40:25 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c HV: rename 'type' in struct io_request 2019-05-06 18:25:20 +08:00