acrn-hypervisor/hypervisor/include/dm
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
..
io_req.h hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
ivshmem.h hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
mmio_dev.h hv: mmio_dev: add hypercall to support mmio device pass through 2020-07-23 20:13:20 +08:00
vacpi.h HV: Fix the problem of copy fail when booting pre-launched VMs 2021-08-27 15:19:55 +08:00
vgpio.h hv: add vgpio device model support 2020-09-07 14:52:02 +08:00
vioapic.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmcs9900.h hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
vpci.h hv: dm: Use new pci device passthrough management ioctls 2021-07-15 11:53:54 +08:00
vpic.h hv[v2]: Remove deprecated term in vPIC submodule 2020-09-01 09:30:08 +08:00
vroot_port.h hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
vuart.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00