qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Ani Sinha" <ani@anisinha.ca>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: [PULL 05/11] edk2: add microvm build
Date: Tue, 15 Mar 2022 09:36:50 +0100	[thread overview]
Message-ID: <20220315083656.1949517-6-kraxel@redhat.com> (raw)
In-Reply-To: <20220315083656.1949517-1-kraxel@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 roms/Makefile.edk2 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2
index 6801ea62e8f1..485f2244b159 100644
--- a/roms/Makefile.edk2
+++ b/roms/Makefile.edk2
@@ -33,6 +33,7 @@ flashdevs := \
 	i386-secure-code \
 	x86_64-code \
 	x86_64-secure-code \
+	x86_64-microvm \
 	\
 	arm-vars \
 	i386-vars
@@ -145,6 +146,16 @@ submodules:
 		-D SMM_REQUIRE
 	cp edk2/Build/Ovmf3264/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
 
+../pc-bios/edk2-x86_64-microvm.fd: submodules
+	+./edk2-build.sh \
+		x86_64 \
+		--arch=X64 \
+		--platform=OvmfPkg/Microvm/MicrovmX64.dsc \
+		-D NETWORK_IP6_ENABLE \
+		-D NETWORK_HTTP_BOOT_ENABLE \
+		-D NETWORK_TLS_ENABLE
+	cp edk2/Build/MicrovmX64/$(target)_$(call toolchain,x86_64)/FV/MICROVM.fd $@
+
 ../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd
 	cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_VARS.fd \
 		$@
-- 
2.35.1



  parent reply	other threads:[~2022-03-15  8:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15  8:36 [PULL 00/11] Edk2 20220315 patches Gerd Hoffmann
2022-03-15  8:36 ` [PULL 01/11] tests/acpi: allow virt memory hotplug changes Gerd Hoffmann
2022-03-15  8:36 ` [PULL 02/11] edk2: update submodule to stable202202 Gerd Hoffmann
2022-03-15  8:36 ` [PULL 03/11] edk2: switch to release builds Gerd Hoffmann
2022-03-15  8:36 ` [PULL 04/11] edk2: .git can be a file Gerd Hoffmann
2022-03-15  8:36 ` Gerd Hoffmann [this message]
2022-03-15  8:36 ` [PULL 06/11] edk2: update binaries to stable202202 Gerd Hoffmann
2022-03-15  8:36 ` [PULL 07/11] tests/acpi: update expected data files Gerd Hoffmann
2022-03-15  8:36 ` [PULL 08/11] tests/acpi: disallow virt memory hotplug changes Gerd Hoffmann
2022-03-15  8:36 ` [PULL 09/11] edk2/docker: install python3 Gerd Hoffmann
2022-03-15  8:36 ` [PULL 10/11] edk2/docker: use ubuntu 18.04 Gerd Hoffmann
2022-03-15  8:36 ` [PULL 11/11] MAINTAINERS: take edk2 Gerd Hoffmann
2022-03-15 14:41 ` [PULL 00/11] Edk2 20220315 patches Peter Maydell

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=20220315083656.1949517-6-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=ani@anisinha.ca \
    --cc=bleal@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=imammedo@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    /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).