Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c1dd400a13d1a5e862809c55f6760ba3a944a609
      
https://github.com/tianocore/edk2/commit/c1dd400a13d1a5e862809c55f6760ba3a944a609
  Author: Mikolaj Lisik via groups.io <lisik=google....@groups.io>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiDxeVirtualMemory.c

  Log Message:
  -----------
  OvmfPkg: Create additional PML1 entries for large SEV-SNP VMs

Edk2 was failing, rather than creating more PML4 entries, when they
weren't present in the initial memory acceptance flow. Because of that
VMs with more than 512G memory were crashing. This code fixes that.

This change affects only SEV-SNP VMs.

The code was tested by successfully booting a 512G SEV-SNP VM.

Signed-off-by: Mikolaj Lisik <li...@google.com>
Acked-by: Gerd Hoffmann <kra...@redhat.com>
Acked-by: Tom Lendacky <thomas.lenda...@amd.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to