qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>
Subject: [PATCH 1/2] edk2: add qemuvars builds to config
Date: Fri, 28 Nov 2025 10:26:00 +0100	[thread overview]
Message-ID: <20251128092602.373747-2-kraxel@redhat.com> (raw)
In-Reply-To: <20251128092602.373747-1-kraxel@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 roms/edk2-build.config | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/roms/edk2-build.config b/roms/edk2-build.config
index 96ebc3bcd9e7..9caafa7a5f55 100644
--- a/roms/edk2-build.config
+++ b/roms/edk2-build.config
@@ -20,6 +20,11 @@ SECURE_BOOT_ENABLE       = TRUE
 SMM_REQUIRE              = TRUE
 BUILD_SHELL              = FALSE
 
+[opts.ovmf.sb.qemuvars]
+SECURE_BOOT_ENABLE       = TRUE
+QEMU_PV_VARS             = TRUE
+BUILD_SHELL              = FALSE
+
 [opts.armvirt.silent]
 DEBUG_PRINT_ERROR_LEVEL  = 0x80000000
 
@@ -55,6 +60,16 @@ plat = OvmfX64
 dest = ../pc-bios
 cpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
 
+[build.ovmf.x86_64.qemuvars]
+desc = ovmf build (64-bit, secure boot)
+conf = OvmfPkg/OvmfPkgX64.dsc
+arch = X64
+opts = common
+       ovmf.sb.qemuvars
+plat = OvmfX64
+dest = ../pc-bios
+cpy1 = FV/OVMF.fd edk2-x86_64-qemuvars.fd
+
 [build.ovmf.microvm]
 desc = ovmf build for microvm
 conf = OvmfPkg/Microvm/MicrovmX64.dsc
@@ -81,6 +96,19 @@ cpy2 = FV/QEMU_VARS.fd edk2-aarch64-vars.fd
 pad1 = edk2-aarch64-code.fd  64m
 pad2 = edk2-aarch64-vars.fd  64m
 
+[build.armvirt.aa64.qemuvars]
+desc = ArmVirt build, 64-bit (arm v8)
+conf = ArmVirtPkg/ArmVirtQemu.dsc
+arch = AARCH64
+opts = common
+       armvirt.silent
+       ovmf.sb.qemuvars
+pcds = nx.broken.shim.grub
+plat = ArmVirtQemu-AArch64
+dest = ../pc-bios
+cpy1 = FV/QEMU_EFI.fd  edk2-aarch64-qemuvars.fd
+pad1 = edk2-aarch64-qemuvars.fd  64m
+
 ####################################################################################
 # riscv64
 
@@ -94,6 +122,15 @@ cpy2 = FV/RISCV_VIRT_VARS.fd  edk2-riscv64-vars.fd
 pad1 = edk2-riscv64-code.fd   32m
 pad2 = edk2-riscv64-vars.fd   32m
 
+#[build.riscv.qemu.qemuvars]
+#conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
+#arch = RISCV64
+#opts = ovmf.sb.qemuvars
+#plat = RiscVVirtQemu
+#dest = ../pc-bios
+#cpy1 = FV/RISCV_VIRT_CODE.fd  edk2-riscv-qemuvars.fd
+#pad1 = edk2-riscv-qemuvars.fd     32m
+
 ####################################################################################
 # LoongArch64
 
-- 
2.52.0



  reply	other threads:[~2025-11-28  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-28  9:25 [PATCH 0/2] [RfC] edk2: add qemu variable store firmware builds Gerd Hoffmann
2025-11-28  9:26 ` Gerd Hoffmann [this message]
2025-11-28 13:05 ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251128092602.373747-2-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).