acrn-hypervisor/hypervisor/include/arch/x86/guest
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
..
assign.h hv: add INTx mapping for pre-launched VMs 2020-09-07 14:52:02 +08:00
ept.h doc: fix doxygen 1.8.17 issues 2020-10-29 08:25:01 -07:00
guest_memory.h xHV: remove unused function is_dbg_uart_enabled 2019-05-22 16:36:03 +08:00
guest_pm.h hv:Wrap some APIs related with guest pm 2019-10-21 10:13:02 +08:00
hyperv.h hv: support reference time enlightenment 2019-10-22 10:09:16 +08:00
instr_emul.h HV: remove instr_emul.c dead code 2019-07-09 09:22:53 +08:00
trusty.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
vcpuid.h HV: return extended info in vCPUID leaf 0x40000001 2019-07-31 14:13:39 +08:00
virtual_cr.h hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
vlapic.h hv: refine msi interrupt injection functions 2020-10-26 08:44:13 +08:00
vm.h hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
vm_reset.h hv:move some APIs related host reset to pm.c 2019-08-22 14:09:18 +08:00
vmcs.h hv: bugfix for debug commands with smp_call 2019-12-05 11:19:35 +08:00
vmexit.h hv: refine `guest.h` 2019-02-03 13:00:42 +08:00
vmtrr.h hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_io.h hv: add support for shutdown for pre-launched VMs 2020-11-04 10:33:31 +08:00