acrn-hypervisor/hypervisor/include
Yan, Like ede1459e19 hv: fix the vm pointer check before use
After using get_vm_from_vmid(), vm pointer is always not NULL. But there are still many NULL pointer checks.
This commit replaced the NULL vm pointer check with a validation check which checks the vm status.
In addition, NULL check for pointer returned by get_sos_vm() and get_vm_config() is removed.

Tracked-On: #2520
Signed-off-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-04-02 16:29:51 +08:00
..
arch/x86 hv: fix the vm pointer check before use 2019-04-02 16:29:51 +08:00
common HV: Add one delmode parameter to make_reschedule_request 2019-03-29 16:17:44 +08:00
debug hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
dm HV: merge partition_mode.c and sharing_mode.c's code into vpci.c 2019-03-25 12:35:39 +08:00
lib hv:move 'udelay' to timer.c 2019-03-22 08:38:13 +08:00
public HV: Set vm state as with VM_POWERING_OFF when RTVM poweroff by itself 2019-03-29 16:17:44 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h hv:move 2 APIs from hypervisor.h to guest_memory.c 2019-02-21 10:38:30 +08:00