acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: vm_manage: minor fix about triple_fault_shutdown_vm 2019-07-03 17:44:45 +08:00
common hv: ptdev: refine ptdev active flag 2019-07-03 17:44:45 +08:00
debug hv: bugfix for sbuf reset 2019-06-27 15:40:19 +08:00
dm HV: add uint64_t bar_base_mapped[PCI_BAR_COUNT] to struct pci_vdev 2019-07-01 09:57:05 +08:00
hw HV: extract functions from code to improve code reuse and readability 2019-07-01 09:57:05 +08:00
lib hv:move several files related X86 for lib 2019-05-13 10:12:20 +08:00
public DM/HV: Increase VM name len 2019-05-27 12:13:51 +08:00