Files
acrn-hypervisor/hypervisor/arch/x86
Victor Sun 3bb4308361 HV: check vm id param when dispatching hypercall
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>
2019-04-26 16:21:14 +08:00
..
2019-04-24 11:55:23 +08:00
2019-02-22 13:14:36 +08:00
2019-04-25 11:21:54 +08:00
2019-02-22 13:14:36 +08:00
2019-04-24 11:55:23 +08:00