[Bug 276463] UEFI-booted VM limited to 503GB RAM rather than requested 1.5TB

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jan 2024 10:36:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276463

Peter Grehan <grehan@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grehan@FreeBSD.org

--- Comment #4 from Peter Grehan <grehan@FreeBSD.org> ---
This is due to memory being detected from CMOS bytes, which limits the maximum
amount of RAM to 1TB. This appears to be leftover code imported from the
original UDK2014 bhyve EFI code, and was removed in OVMF with this commit:
    https://edk2.groups.io/g/devel/message/80822

The fix would be to use the E820 map instead of CMOS in
Bhyve/PlatformPei/MemDetect.c

-- 
You are receiving this mail because:
You are the assignee for the bug.