Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 2069a63a8e4b190a6992b45060c0dd0d5a5f3c73
https://github.com/tianocore/edk2/commit/2069a63a8e4b190a6992b45060c0dd0d5a5f3c73
Author: Gerd Hoffmann <[email protected]>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M OvmfPkg/Library/PlatformInitLib/MemDetect.c
M OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
A OvmfPkg/Library/PlatformInitLib/X64/Paging.nasm
Log Message:
-----------
OvmfPkg/PlatformInitLib: allow switching to 4-level paging
There are a number of mostly older guests such as RHEL-7 which do not
support 5-level paging. This patch adds support for switching from
5-level paging mode back to 4-level paging mode. This is done in PEI,
after inspecting the address space needed (installed memory and
reservations configured via fw_cfg).
By default small guests (which need less than 1 TB) will use 4-level
paging mode. There is a fw_cfg override though, so it is possible to
force the one or the other this way:
qemu-system-x86_64 -fw_cfg name=opt/org.tianocode/PagingLevel,string=5
Signed-off-by: Gerd Hoffmann <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits