mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 04:04:05 +00:00
If the vmcall param passed from guest is representing a vmid, we should make sure it is a valid one because it is a pre-condition of following get_vm_from_vmid(). And then we don't need to do NULL VM pointer check in is_valid_vm() because get_vm_from_vmid() would never return NULL. Tracked-On: #2978 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
console.c | ||
dbg_cmd.c | ||
dump.c | ||
hypercall.c | ||
logmsg.c | ||
Makefile | ||
npk_log.c | ||
printf.c | ||
profiling.c | ||
sbuf.c | ||
shell_priv.h | ||
shell.c | ||
string.c | ||
trace.c | ||
uart16550.c | ||
vuart.c |