acrn-hypervisor/hypervisor/include
Peter Fang 68dc8d9f8f hv: pm: avoid duplicate shutdowns on RTVM
It is possible for more than one vCPUs to trigger shutdown on an RTVM.
We need to avoid entering VM_READY_TO_POWEROFF state again after the
RTVM has been paused or shut down.

Also, make sure an RTVM enters VM_READY_TO_POWEROFF state before it can
be paused.

v1 -> v2:
- rename to poweroff_if_rt_vm for better clarity

Tracked-On: #5411
Signed-off-by: Peter Fang <peter.fang@intel.com>
2020-11-11 14:05:39 +08:00
..
arch/x86 hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
common doc: fix doxygen 1.8.17 issues 2020-10-29 08:25:01 -07:00
debug hv: debug: Enable MMIO UART support 2020-08-27 13:31:17 +08:00
dm HV: pci-vuart support create vdev hcall 2020-10-30 20:41:34 +08:00
hw HV: pci-vuart: pci based vuart emulation 2020-10-30 20:41:34 +08:00
lib hv: add functions to initialize vmsix capability 2020-10-26 08:44:13 +08:00
public hv: add support for shutdown for pre-launched VMs 2020-11-04 10:33:31 +08:00