mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-21 22:04:36 +00:00
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>