mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-10 17:34:45 +00:00
- The target vm in most of hypercalls should be a NORMAL_VM, in some exceptions it might be a SOS_VM, we should validate them. - Please be aware that some hypercall might have limitation on specific target vm like RT or SAFETY VMs, this leaves "TODO" in future; - Unify the coding style: int32_t hcall_foo(vm, target_vm_id, ...) { int32_t ret = -1; ... if ((is_valid_vm(target_vm) && is_normal_vm(target_vm)) { ret = .... } return ret; } Tracked-On: #2978 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
assign.h | ||
ept.h | ||
guest_memory.h | ||
guest_pm.h | ||
instr_emul.h | ||
trusty.h | ||
ucode.h | ||
vcpu.h | ||
vcpuid.h | ||
virtual_cr.h | ||
vlapic.h | ||
vm.h | ||
vmcs.h | ||
vmexit.h | ||
vmtrr.h | ||
vmx_io.h |