Files
acrn-hypervisor/hypervisor/arch/x86
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
..
2020-10-29 10:05:05 +08:00
2019-02-22 13:14:36 +08:00
2019-12-13 10:13:09 +08:00
2020-06-08 13:30:04 +08:00
2020-11-02 15:56:30 +08:00
2019-09-11 17:30:24 +08:00