acrn-hypervisor/hypervisor/arch/x86/guest
Yin Fengwei f7df43e7cd reset: detect highest severity guest dynamically
For guest reset, if the highest severity guest reset will reset
system. There is vm flag to call out the highest severity guest
in specific scenario which is a static guest severity assignment.

There is case that the static highest severity guest is shutdown
and the highest severity guest should be transfer to other guest.
For example, in ISD scenario, if RTVM (static highest severity
guest) is shutdown, SOS should be highest severity guest instead.

The is_highest_severity_vm() is updated to detect highest severity
guest dynamically. And promote the highest severity guest reset
to system reset.

Also remove the GUEST_FLAG_HIGHEST_SEVERITY definition.

Tracked-On: #4270
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2019-12-23 15:15:09 +08:00
..
assign.c HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM 2019-12-12 13:49:28 +08:00
ept.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
guest_memory.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
hyperv.c HV: Kconfig: remove MAX_VCPUS_PER_VM in Kconfig 2019-12-12 13:49:28 +08:00
instr_emul.c hv: instr_emul: use cs segment when fetching instructions 2019-11-11 13:55:24 +08:00
pm.c pm: S5: update the system shutdown logical in ACRN 2019-12-23 15:15:09 +08:00
trusty.c hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c HV: Kconfig: remove MAX_VCPUS_PER_VM in Kconfig 2019-12-12 13:49:28 +08:00
vcpuid.c hv: support minimum set of TLFS 2019-10-22 10:09:16 +08:00
virq.c HV: Use NMI-window exiting to address req missing issue 2019-12-17 09:45:52 +08:00
virtual_cr.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c HV: Kconfig: remove MAX_VCPUS_PER_VM in Kconfig 2019-12-12 13:49:28 +08:00
vm_reset.c reset: detect highest severity guest dynamically 2019-12-23 15:15:09 +08:00
vm.c reset: detect highest severity guest dynamically 2019-12-23 15:15:09 +08:00
vmcall.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vmcs.c HV: Use NMI to replace INIT signal for lapic-pt VMs S5 2019-12-17 09:45:52 +08:00
vmexit.c HV: Remove INIT signal notification related code 2019-12-17 09:45:52 +08:00
vmsr.c hv: msr: remove redundant check in write_pat_msr 2019-12-16 14:32:42 +08:00
vmtrr.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c hv: ept: disable execute right on large pages 2019-11-13 08:00:36 +08:00