acrn-hypervisor/hypervisor/include/arch/x86/guest
Mingqiang Chi aa89eb3541 hv:add per-vm lock for vm & vcpu state change
-- replace global hypercall lock with per-vm lock
-- add spinlock protection for vm & vcpu state change

v1-->v2:
   change get_vm_lock/put_vm_lock parameter from vm_id to vm
   move lock obtain before vm state check
   move all lock from vmcall.c to hypercall.c

Tracked-On: #4958
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-07-20 11:22:17 +08:00
..
assign.h hv: ptirq: associate an irte with ptirq_remapping_info entry 2020-06-16 08:52:56 +08:00
ept.h hv: vpci: add PCI BAR re-program address check 2019-10-29 14:49: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: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: pause all other vCPUs in same VM when do wbinvd emulation 2020-05-21 15:21:29 +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: fix SOS vapic_id assignment issue 2020-04-15 14:34:15 +08:00
vm_reset.h hv:move some APIs related host reset to pm.c 2019-08-22 14:09:18 +08:00
vm.h hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +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: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00