acrn-hypervisor/hypervisor/include/arch/x86/guest
Li, Fei1 09a63560f4 hv: vm_manage: minor fix about triple_fault_shutdown_vm
The current implement will trigger shutdown vm request on the BSP VCPU on the VM,
not the VCPU will trap out because triple fault. However, if the BSP VCPU on the VM
is handling another IO emulation, it may overwrite the triple fault IO request on
the vhm_request_buffer in function acrn_insert_request. The atomic operation of
get_vhm_req_state can't guarantee the vhm_request_buffer will not access by another
IO request if it is not running on the corresponding VCPU. So it should trigger
triple fault shutdown VM IO request on the VCPU which trap out because of triple
fault exception.
Besides, rt_vm_pm1a_io_write will do the right thing which we shouldn't do it in
triple_fault_shutdown_vm.

Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2019-07-03 17:44:45 +08:00
..
assign.h hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
ept.h HV: Add ept_flush_leaf_page API 2019-06-20 09:32:55 +08:00
guest_memory.h xHV: remove unused function is_dbg_uart_enabled 2019-05-22 16:36:03 +08:00
guest_pm.h HV: Register S5 pio handler for dm-launched RTVM 2019-03-29 16:17:44 +08:00
instr_emul.h hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +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:fix vcpu violations 2019-06-28 13:28:26 +08:00
vcpuid.h hv:cleanup header file for vm.c & vm.h 2019-02-03 13:50:42 +08:00
virtual_cr.h hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
vlapic.h hv: vlapic: remove ISR vector stack 2019-06-27 15:27:37 +08:00
vm_reset.h hv: vm_manage: minor fix about triple_fault_shutdown_vm 2019-07-03 17:44:45 +08:00
vm.h HV: Add has_rt_vm API 2019-06-20 09:32:55 +08:00
vmcs.h hv: vlapic: clear which access type we support for APIC-Access VM Exit 2019-06-20 08:53:25 +08:00
vmexit.h hv: refine guest.h 2019-02-03 13:00:42 +08:00
vmtrr.h modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vmx_io.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00