acrn-hypervisor/hypervisor/common
Peter Fang 06838df53b hv: pm: support shutting down multiple VMs when pCPUs are shared
More than one VM may request shutdown on the same pCPU before
shutdown_vm_from_idle() is called in the idle thread when pCPUs are
shared among VMs.

Use a per-pCPU bitmap to store all the VMIDs requesting shutdown.

v1 -> v2:
- use vm_lock to avoid a race on shutdown

Tracked-On: #5411
Signed-off-by: Peter Fang <peter.fang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-11-04 10:31:30 +08:00
..
event.c hv: reset vcpu events in reset_vcpu 2020-02-23 16:27:57 +08:00
hv_main.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
hypercall.c hv: pm: support shutting down multiple VMs when pCPUs are shared 2020-11-04 10:31:30 +08:00
ptdev.c hv:unify spin_lock initialization 2020-07-02 09:40:29 +08:00
sched_bvt.c hv: list: rename list_entry to container_of 2020-03-31 10:57:47 +08:00
sched_iorr.c hv: sched_iorr: add some interfaces implementation of sched_iorr 2019-12-11 09:31:39 +08:00
sched_noop.c hv: sched: decouple scheduler from schedule framework 2019-10-25 13:00:21 +08:00
schedule.c hv: Fix thread status mess if wake_thread() happens in transition stage 2020-08-20 10:32:31 +08:00
softirq.c
trusty_hypercall.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
vm_load.c hv: remove de-privilege boot mode support and remove vboot wrappers 2020-10-21 15:09:26 +08:00