acrn-hypervisor/hypervisor/include/common
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
..
delay.h hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00
efi_mmap.h config_tools: add a new entry MAX_EFI_MMAP_ENTRIES 2021-08-20 15:04:37 +08:00
event.h hv: Add check to ensure vcpu_make_request and signal_event are 2021-08-27 16:16:52 +08:00
hypercall.h hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
irq.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ptdev.h hv/mod_timer: make timer into an arch-independent module 2021-05-18 16:43:28 +08:00
schedule.h hv/mod_timer: make timer into an arch-independent module 2021-05-18 16:43:28 +08:00
softirq.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
ticks.h doc: update timer HLD doc after modularization 2021-06-09 17:11:25 -04:00
timer.h hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
vm_uuids.h HV: add VM uuid and type for pre-launched RTVM 2020-07-23 21:58:32 +08:00