acrn-hypervisor/hypervisor/arch/x86/guest
Yi Sun e07a9618f9 hv: ENODEV should be able to be set into RAX as hypercall return value
Some hypercalls return -ENODEV which should be set into RAX as return
value, e.g. HC_ASSIGN_PCIDEV. So, remove the check in
vmcall_vmexit_handler() and change return value to -EACCESS if the
hypercall is not sent from Service VM or allowed VM.

Tracked-On: #8598
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
2024-08-23 10:14:14 +08:00
..
assign.c hv: bugfix: skip invalid ffs64 return value 2023-07-14 17:38:16 +08:00
ept.c hv: define a MACRO to indicate maximum memory size 2023-09-12 13:52:48 +08:00
guest_memory.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
hyperv.c hv: tlfs: fix the incorrect vLAPIC freq MSR 2022-07-26 05:53:19 +08:00
instr_emul.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
lock_instr_emul.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
nested.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
optee.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
pm.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trusty.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
ucode.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vcat.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vcpu.c hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
vcpuid.c hv: cpuid: fix hybrid related cpuid error 2024-06-19 17:07:10 +08:00
ve820.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vept.c hv: define a MACRO to indicate maximum memory size 2023-09-12 13:52:48 +08:00
virq.c hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
virtual_cr.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vlapic_priv.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vlapic.c hv: signal_event after make_request 2023-09-15 11:52:40 +08:00
vm_reset.c hv: allow guest with the highest severity to read RESET_CONTROL 2024-08-12 10:06:15 +08:00
vm.c hv: add GUEST_FLAG_STATELESS flag 2024-07-30 09:26:50 +08:00
vmcall.c hv: ENODEV should be able to be set into RAX as hypercall return value 2024-08-23 10:14:14 +08:00
vmcs.c hv: hide mwait from guest. 2022-11-04 18:55:52 +08:00
vmexit.c hv: fix using cpuid does not clear the upper 32-bit registers. 2024-06-19 15:35:26 +08:00
vmsr.c hv: expose thermal MSRs to VM. 2024-05-16 09:40:32 +08:00
vmtrr.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vmx_asm.S Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vmx_io.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00