[PATCH 0/2] [RfC] edk2: add qemu variable store firmware builds

Gerd Hoffmann posted 2 patches 1 day ago
Failed in applying to current master (apply log)
pc-bios/edk2-aarch64-qemuvars.fd.bz2 | Bin 0 -> 1621714 bytes
pc-bios/edk2-x86_64-qemuvars.fd.bz2  | Bin 0 -> 2095693 bytes
roms/edk2-build.config               |  37 +++++++++++++++++++++++++++
3 files changed, 37 insertions(+)
create mode 100644 pc-bios/edk2-aarch64-qemuvars.fd.bz2
create mode 100644 pc-bios/edk2-x86_64-qemuvars.fd.bz2
[PATCH 0/2] [RfC] edk2: add qemu variable store firmware builds
Posted by Gerd Hoffmann 1 day ago
This is somewhat related to the bigger question how we want move forward
with firmware builds in the qemu repo ...

qemu got uefi variable store support in version 10.0.  With the pending
edk2 firmware update (patches are on the list right now) edk2 is new
enough that support for the qemu variable store is present in the code
base.  This is a compile time option though, so it needs separate
firmware images.  This little patch series adds them.

The big question is if we want go down that route.  The images are not
essential for qemu itself.  The test cases for the acpi tables use the
firmware images for the traditional, pflash-based efi variable store
and can continue to do so.

So, do we want add them?  For qemu developer / user convenience?  Or
leave that to linux distributions?  Fedora already ships builds (see
/usr/share/edk2/*/*qemuvars*).

take care,
  Gerd

Gerd Hoffmann (2):
  edk2: add qemuvars builds to config
  edk2: add qemuvars build binaries

 pc-bios/edk2-aarch64-qemuvars.fd.bz2 | Bin 0 -> 1621714 bytes
 pc-bios/edk2-x86_64-qemuvars.fd.bz2  | Bin 0 -> 2095693 bytes
 roms/edk2-build.config               |  37 +++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 pc-bios/edk2-aarch64-qemuvars.fd.bz2
 create mode 100644 pc-bios/edk2-x86_64-qemuvars.fd.bz2

-- 
2.52.0
Re: [PATCH 0/2] [RfC] edk2: add qemu variable store firmware builds
Posted by Philippe Mathieu-Daudé 20 hours ago
Cc'ing Michael and Daniel

On 28/11/25 10:25, Gerd Hoffmann wrote:
> This is somewhat related to the bigger question how we want move forward
> with firmware builds in the qemu repo ...
> 
> qemu got uefi variable store support in version 10.0.  With the pending
> edk2 firmware update (patches are on the list right now) edk2 is new
> enough that support for the qemu variable store is present in the code
> base.  This is a compile time option though, so it needs separate
> firmware images.  This little patch series adds them.
> 
> The big question is if we want go down that route.  The images are not
> essential for qemu itself.  The test cases for the acpi tables use the
> firmware images for the traditional, pflash-based efi variable store
> and can continue to do so.
> 
> So, do we want add them?  For qemu developer / user convenience?  Or
> leave that to linux distributions?  Fedora already ships builds (see
> /usr/share/edk2/*/*qemuvars*).
> 
> take care,
>    Gerd
> 
> Gerd Hoffmann (2):
>    edk2: add qemuvars builds to config
>    edk2: add qemuvars build binaries
> 
>   pc-bios/edk2-aarch64-qemuvars.fd.bz2 | Bin 0 -> 1621714 bytes
>   pc-bios/edk2-x86_64-qemuvars.fd.bz2  | Bin 0 -> 2095693 bytes
>   roms/edk2-build.config               |  37 +++++++++++++++++++++++++++
>   3 files changed, 37 insertions(+)
>   create mode 100644 pc-bios/edk2-aarch64-qemuvars.fd.bz2
>   create mode 100644 pc-bios/edk2-x86_64-qemuvars.fd.bz2
>