Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e566e1e536e4e1b928852a6f17635587b31423ad
      
https://github.com/tianocore/edk2/commit/e566e1e536e4e1b928852a6f17635587b31423ad
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/Include/Fdf/MemFd.fdf.inc
    M OvmfPkg/OvmfPkg.dec

  Log Message:
  -----------
  OvmfPkg/igvm: reserve two pages for igvm support in memfd

When loading firmware using the IGVM format the hypervisor can pass
parameters -- for example the memory map -- to the firmware by storing
that information in a parameter area in guest memory.  The IGVM format
also allows to load data to guest memory pages, which in turn allows
to pack additional data -- for example efi binaries to load -- into the
igvm file.

This patch reserves two pages in memfd for that.  One page for IGVM
parameters (as defined in the IGVM spec), and one page where HOBs
pointing to additional data can be stored.  The patch also adds PCDs
for location and size of these areas.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: 313004a57f9feb02e9abf01ab07326573f60c9bc
      
https://github.com/tianocore/edk2/commit/313004a57f9feb02e9abf01ab07326573f60c9bc
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm
    M OvmfPkg/ResetVector/ResetVector.inf
    M OvmfPkg/ResetVector/ResetVector.nasmb
    A OvmfPkg/ResetVector/X64/IgvmMetadata.asm

  Log Message:
  -----------
  OvmfPkg/igvm: add igvm regions to reset vector

Add parameter and HOB regions for IGVM to a new table in the reset
vecroe, modeled after the AmdSev table we already have.  This allows
tools to figure where OVMF expects that data to be placed when
generating IGVM files.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: 5e8db785e4732891a4e96d2fbc83079b3e4262cc
      
https://github.com/tianocore/edk2/commit/5e8db785e4732891a4e96d2fbc83079b3e4262cc
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/Include/Library/PlatformInitLib.h
    A OvmfPkg/Library/PlatformInitLib/Igvm.c
    M OvmfPkg/Library/PlatformInitLib/MemDetect.c
    M OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
    M OvmfPkg/ResetVector/X64/IgvmMetadata.asm

  Log Message:
  -----------
  OvmfPkg/igvm: add igvm memory map support.

In case a IGVM memory map is present in the parameter area use that
when detecting guest memory.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: f52a46375bbfb577f6809156d7f1fc3058595103
      
https://github.com/tianocore/edk2/commit/f52a46375bbfb577f6809156d7f1fc3058595103
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    A OvmfPkg/Include/IndustryStandard/IgvmData.h
    M OvmfPkg/OvmfPkg.dec

  Log Message:
  -----------
  OvmfPkg/igvm: add IgvmData struct header + guid

Add header file with struct and defines for additional IGVM data HOBs.
Also add the GUID for the HOB.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: c36111cfcacd7c528aebf552d3e584c352786b8a
      
https://github.com/tianocore/edk2/commit/c36111cfcacd7c528aebf552d3e584c352786b8a
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/Include/Library/PlatformInitLib.h
    M OvmfPkg/Library/PlatformInitLib/Igvm.c
    M OvmfPkg/Library/PlatformInitLib/Platform.c
    M OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf

  Log Message:
  -----------
  OvmfPkg/igvm: handle igvm data hobs

In case HOBs are present in the IGVM data hob area register the memory
regions as bootservice data to avoid them being overwritten.  Also copy
over the HOBs so they can easily be found later using standard HobLib
functions.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: 251462324f56c1757aac8837f607890a1a466754
      
https://github.com/tianocore/edk2/commit/251462324f56c1757aac8837f607890a1a466754
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c
    M OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf

  Log Message:
  -----------
  OvmfPkg/QemuKernelLoaderFsDxe: add support for igvm data blobs

In case shim or kernel blobs have been loaded via IGVM, register them as
files in the kernel loader pseudo file system.  They will be used for
direct kernel boot then.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: 38370cf4924205df97b8bcaf0f184983a4b34f66
      
https://github.com/tianocore/edk2/commit/38370cf4924205df97b8bcaf0f184983a4b34f66
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M OvmfPkg/Include/Library/PlatformInitLib.h
    M OvmfPkg/Library/PlatformInitLib/Igvm.c
    M OvmfPkg/Library/PlatformInitLib/Platform.c
    M OvmfPkg/ResetVector/X64/IgvmMetadata.asm

  Log Message:
  -----------
  OvmfPkg/igvm: add PlatformIgvmVpCount

Add support for getting the cpu count via IGVM parameter.

Signed-off-by: Gerd Hoffmann <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/bc431cece3ab...38370cf49242

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

Reply via email to