acrn-hypervisor/hypervisor/arch/x86/guest
Zhou, Wu 25ed86e28f HV: Fix the problem of copy fail when booting pre-launched VMs
The length of the ACPI data entry in ve820 tab was 960K, while the
ACPI file is 1MB. It would cause ept unmapped fault when loading the
pre-launched VMs. This patch changes it to 1MB to fix the problem.

And the ACPI data length was missed when calculating
ENTRY_HPA1_LOW_PART2 length. Fixed here too.

The vACPI data and NVS entry size for pre-launched VM is currently
hard-coded. Add VIRT_ACPI_DATA_LEN and VIRT_ACPI_NVS_LEN to replace
them. And build connection with their starting address, too.

Tracked-On: #6507

Signed-off-by: Zhou, Wu <wu.zhou@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com>
2021-08-27 15:19:55 +08:00
..
assign.c hv: validate input for dmar_free_irte function 2021-06-08 09:03:10 +08:00
ept.c hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation 2021-07-02 09:24:12 +08:00
guest_memory.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
hyperv.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
instr_emul.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
lock_instr_emul.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
nested.c hv: Wrap same code as a static function 2021-06-09 10:07:05 +08:00
pm.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
trusty.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
ucode.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vcpu.c hv: check the capability of XSAVES/XRSTORS instructions before execution 2021-08-25 16:30:14 +08:00
vcpuid.c hv: mask off LA57 in cpuid 2021-08-18 16:26:25 +08:00
ve820.c HV: Fix the problem of copy fail when booting pre-launched VMs 2021-08-27 15:19:55 +08:00
vept.c hv: nested: Keep privilege bits sync in shadow EPT entry 2021-07-02 09:24:12 +08:00
virq.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
virtual_cr.c hv: nested: enable nested virtualization 2021-05-13 16:16:30 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
vm_reset.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
vm.c hv: quirks: SMBIOS passthrough for prelaunched-VM 2021-08-23 14:52:36 +08:00
vmcall.c hv: dm: Use new VM management ioctls 2021-07-15 11:53:54 +08:00
vmcs.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmexit.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmsr.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmtrr.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_asm.S hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_io.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00