acrn-hypervisor/hypervisor/arch/x86/guest
Mingqiang Chi a67a85c70d hv:refine vm & vcpu lock
-- move vm_state_lock to other place in vm structure
   to avoid the memory waste because of the page-aligned.
-- remove the memset from create_vm
-- explicitly set max_emul_mmio_regions and vcpuid_entry_nr to 0
   inside create_vm to avoid use without initialization.
-- rename max_emul_mmio_regions to nr_emul_mmio_regions
v1->v2:
   add deinit_emul_io in shutdown_vm

Tracked-On: #4958
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Grandhi, Sainath <sainath.grandhi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-08-05 13:39:28 +08:00
..
assign.c rename vm_lock/vlapic_state in VM structure 2020-06-19 16:13:20 +08:00
ept.c hv: ept: wrap a function to do guest ept flush 2020-06-22 16:25:03 +08:00
guest_memory.c gpa2hva: add INVAVLID_HPA return value check 2020-05-06 11:29:30 +08:00
hyperv.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
instr_emul.c hv: instr_emul: use cs segment when fetching instructions 2019-11-11 13:55:24 +08:00
pm.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
trusty.c hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
ucode.c remove spin lock for micro code update 2020-06-19 16:13:20 +08:00
vcpu.c hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
vcpuid.c hv: Hide CET feature from guest VM 2020-07-23 20:15:57 +08:00
ve820.c HV: fix wrong gpa start of hpa2 in ve820.c 2020-04-17 14:08:54 +08:00
virq.c hv: pause all other vCPUs in same VM when do wbinvd emulation 2020-05-21 15:21:29 +08:00
virtual_cr.c hv: Hide CET feature from guest VM 2020-07-23 20:15:57 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
vm_reset.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
vm.c hv:refine vm & vcpu lock 2020-08-05 13:39:28 +08:00
vmcall.c hv: vmcall: check vm id in dispatch_sos_hypercall 2020-07-23 20:13:20 +08:00
vmcs.c hv: remove unnecessary debug symbols 2020-06-18 14:05:56 +08:00
vmexit.c hv: pause all other vCPUs in same VM when do wbinvd emulation 2020-05-21 15:21:29 +08:00
vmsr.c hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
vmtrr.c hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c hv: rename BOOT_CPU_ID to BSP_CPU_ID 2020-02-25 09:08:14 +08:00