acrn-hypervisor/hypervisor/include
Yifan Liu e51837f96d hv: Add check to ensure vcpu_make_request and signal_event are
consistent

Currently the vcpu_make_request and signal_event in vcpu_lock_instr_emulation
does not check whether target VCPU is up and running. This can cause
problems because when VCPU is created but not launched,
vcpu_make_request will not trigger wait_event on target VCPU, but
signal_event may still execute to reduce the counter.

This patch adds a check before vcpu_make_request and signal_event to
make sure the request and signal are issued after target VCPU is up.

Tracked-On: #6502
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
2021-08-27 16:16:52 +08:00
..
arch/x86/asm hv: use per platform maximum physical address width 2021-08-18 16:26:25 +08:00
common hv: Add check to ensure vcpu_make_request and signal_event are 2021-08-27 16:16:52 +08:00
debug hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dm HV: Fix the problem of copy fail when booting pre-launched VMs 2021-08-27 15:19:55 +08:00
hw hv: add max payload to vrp 2021-06-15 08:53:53 +08:00
lib hv: Move uuid_is_equal to util.h 2021-08-23 14:52:36 +08:00
public hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-23 14:52:36 +08:00