You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate the new ACPI table generation into propolis-standalone and
propolis-server. Also replace hardcoded memory region addresses with
constants that align with ACPI table definitions.
The PCIe ECAM base is kept same as before at 0xe000_0000 (3.5GB) to
match existing i440fx chipset ECAM placement. ECAM is no longer added
to the E820 map as reserved memory since it is MMIO space properly
described in the MCFG ACPI table.
Guest physical memory map:
0x0000_0000 - 0xbfff_ffff Low RAM (up to 3 GiB)
0xc000_0000 - 0xffff_ffff PCI hole (1 GiB MMIO region)
0xc000_0000 - 0xdfff_ffff 32-bit PCI MMIO
0xe000_0000 - 0xefff_ffff PCIe ECAM (256 MiB, 256 buses)
0xfec0_0000 IOAPIC
0xfed0_0000 HPET
0xffe0_0000 - 0xffff_ffff Bootrom (2 MiB)
0x1_0000_0000+ High RAM + 64-bit PCI MMIO
e820 map as seen by guest:
0x0000_0000 - 0x0009_ffff Usable (640 KiB low memory)
0x0010_0000 - 0xbeaf_ffff Usable (~3 GiB main RAM)
0xbeb0_0000 - 0xbfb6_cfff Reserved (UEFI runtime/data)
0xbfb6_d000 - 0xbfbf_efff ACPI Tables + NVS
0xbfbf_f000 - 0xbffd_ffff Usable (top of low memory)
0xbffe_0000 - 0xffff_ffff Reserved (PCI hole)
0x1_0000_0000 - highmem Usable (high RAM above 4 GiB)
To stay on safe side only enable using new ACPI tables for newly
launched VMs. Old VMs using OVMF tables would keep using the same OVMF
tables throughout multiple migrations. To verify this add the phd test
as well for new VM launched with native tables, native tables preserved
through migration and VM launched from old propolis without native
tables stays with OVMF through multiple future migrations.
Signed-off-by: Amey Narkhede <[email protected]>
0 commit comments