Skip to contentSkip to conversation

edk2: update to stable202202

PATCH Superseded Gerd Hoffmann 10 participants 39 messages Mar 8, 2022 – Mar 14, 2022 Page 1 of 2

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover edk2: update to stable202202

While being at it switch to RELEASE builds,
which in turn needs acpi test data updates.

Add microvm build. Update MAINTAINERS.
Some build/ci tweaks.

Also available here:
https://gitlab.com/kraxel/qemu/-/commits/edk2

Gerd Hoffmann (11):
tests/acpi: allow virt memory hotplug changes
edk2: update submodule to stable202202
edk2: switch to release builds
edk2: .git can be a file
edk2: add microvm build
edk2: update binaries to stable202202 tests/acpi: update expected data files tests/acpi: disallow virt memory hotplug changes edk2/docker: install python3 edk2/docker: use ubuntu 18.04
MAINTAINERS: take edk2

 .gitlab-ci.d/edk2/Dockerfile           |   4 ++--
 MAINTAINERS                            |   2 +-
 pc-bios/edk2-aarch64-code.fd.bz2       | Bin 1507722 -> 1161290 bytes
 pc-bios/edk2-arm-code.fd.bz2           | Bin 1503187 -> 1161845 bytes
 pc-bios/edk2-i386-code.fd.bz2          | Bin 1646741 -> 1282120 bytes
 pc-bios/edk2-i386-secure-code.fd.bz2   | Bin 1860546 -> 1473677 bytes
 pc-bios/edk2-x86_64-code.fd.bz2        | Bin 1680164 -> 1327522 bytes
 pc-bios/edk2-x86_64-microvm.fd.bz2     | Bin 0 -> 1309407 bytes
 pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 1912112 -> 1513711 bytes
 roms/Makefile.edk2                     |  30 +++++++++++++++++--------
 roms/edk2                              |   2 +-
 roms/edk2-build.sh                     |   2 +-
 tests/data/acpi/virt/SSDT.memhp        | Bin 736 -> 736 bytes
 13 files changed, 26 insertions(+), 14 deletions(-)
 create mode 100644 pc-bios/edk2-x86_64-microvm.fd.bz2
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/11 tests/acpi: allow virt memory hotplug changes

---
 tests/qtest/bios-tables-test-allowed-diff.h | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/bios-tables-test-allowed-diff.h +1 -0
index dfb8523c8bf4..e569098abddc 100644
@@ -1 +1,2 @@
 /* List of comma-separated changed AML files to ignore */
+"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
2.35.1
Reviewed-by on v1 1/11
#2 lore raw

Re: [PATCH 01/11] tests/acpi: allow virt memory hotplug changes

tests/qtest/bios-tables-test-allowed-diff.h line 2

Quoted 12 lines · Gerd Hoffmann
---
 tests/qtest/bios-tables-test-allowed-diff.h | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/bios-tables-test-allowed-diff.h +1 -0
index dfb8523c8bf4..e569098abddc 100644
@@ -1 +1,2 @@
 /* List of comma-separated changed AML files to ignore */
+"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
Alex Bennée
#3 lore raw

PATCH 2/11 edk2: update submodule to stable202202

In reply to Gerd Hoffmann
---
 roms/edk2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/edk2 +1 -1
index 06dc822d045c..b24306f15daa 160000
@@ -1 +1 @@
-Subproject commit 06dc822d045c2bb42e497487935485302486e151
+Subproject commit b24306f15daa2ff8510b06702114724b33895d3c
Signature · 1 line
2.35.1
Reviewed-by on v1 2/11
#4 lore raw

Re: [PATCH 02/11] edk2: update submodule to stable202202

roms/edk2 line 1

Quoted 12 lines · Gerd Hoffmann
---
 roms/edk2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/edk2 +1 -1
index 06dc822d045c..b24306f15daa 160000
@@ -1 +1 @@
-Subproject commit 06dc822d045c2bb42e497487935485302486e151
+Subproject commit b24306f15daa2ff8510b06702114724b33895d3c
Signature · 1 line
Alex Bennée
#5 lore raw

PATCH 3/11 edk2: switch to release builds

In reply to Gerd Hoffmann
---
 roms/Makefile.edk2 | 17 +++++++++--------
 roms/edk2-build.sh |  2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)
roms/Makefile.edk2 +9 -8
index fdae0b511f59..3d75a842a4df 100644
@@ -13,6 +13,7 @@
 
 SHELL = /bin/bash
 
+target = RELEASE
 toolchain = $(shell source ./edk2-funcs.sh && qemu_edk2_get_toolchain $(1))
 
 licenses := \
@@ -73,7 +74,7 @@ submodules:
 		-D NETWORK_TLS_ENABLE \
 		-D TPM2_ENABLE \
 		-D TPM2_CONFIG_ENABLE
-	cp edk2/Build/ArmVirtQemu-AARCH64/DEBUG_$(call toolchain,aarch64)/FV/QEMU_EFI.fd \
+	cp edk2/Build/ArmVirtQemu-AARCH64/$(target)_$(call toolchain,aarch64)/FV/QEMU_EFI.fd \
 		$@
 	truncate --size=64M $@
 
@@ -87,7 +88,7 @@ submodules:
 		-D NETWORK_TLS_ENABLE \
 		-D TPM2_ENABLE \
 		-D TPM2_CONFIG_ENABLE
-	cp edk2/Build/ArmVirtQemu-ARM/DEBUG_$(call toolchain,arm)/FV/QEMU_EFI.fd \
+	cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_EFI.fd \
 		$@
 	truncate --size=64M $@
 
@@ -101,7 +102,7 @@ submodules:
 		-D NETWORK_TLS_ENABLE \
 		-D TPM_ENABLE \
 		-D TPM_CONFIG_ENABLE
-	cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
+	cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
 
 ../pc-bios/edk2-i386-secure-code.fd: submodules
 	+./edk2-build.sh \
@@ -115,7 +116,7 @@ submodules:
 		-D TPM_CONFIG_ENABLE \
 		-D SECURE_BOOT_ENABLE \
 		-D SMM_REQUIRE
-	cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
+	cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
 
 ../pc-bios/edk2-x86_64-code.fd: submodules
 	+./edk2-build.sh \
@@ -127,7 +128,7 @@ submodules:
 		-D NETWORK_TLS_ENABLE \
 		-D TPM_ENABLE \
 		-D TPM_CONFIG_ENABLE
-	cp edk2/Build/OvmfX64/DEBUG_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
+	cp edk2/Build/OvmfX64/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
 
 ../pc-bios/edk2-x86_64-secure-code.fd: submodules
 	+./edk2-build.sh \
@@ -142,15 +143,15 @@ submodules:
 		-D TPM_CONFIG_ENABLE \
 		-D SECURE_BOOT_ENABLE \
 		-D SMM_REQUIRE
-	cp edk2/Build/Ovmf3264/DEBUG_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
+	cp edk2/Build/Ovmf3264/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
 
 ../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd
-	cp edk2/Build/ArmVirtQemu-ARM/DEBUG_$(call toolchain,arm)/FV/QEMU_VARS.fd \
+	cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_VARS.fd \
 		$@
 	truncate --size=64M $@
 
 ../pc-bios/edk2-i386-vars.fd: ../pc-bios/edk2-i386-code.fd
-	cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_VARS.fd $@
+	cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_VARS.fd $@
 
 # The license file accumulates several individual licenses from under edk2,
 # prefixing each individual license with a header (generated by "tail") that
roms/edk2-build.sh +1 -1
index d5391c763728..ea79dc27a269 100755
@@ -50,6 +50,6 @@ qemu_edk2_set_cross_env "$emulation_target"
 build \
   --cmd-len=65536 \
   -n "$edk2_thread_count" \
-  --buildtarget=DEBUG \
+  --buildtarget=RELEASE \
   --tagname="$edk2_toolchain" \
   "${args[@]}"
Signature · 1 line
2.35.1
#8 lore raw

PATCH 4/11 edk2: .git can be a file

In reply to Gerd Hoffmann
---
 roms/Makefile.edk2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile.edk2 +1 -1
index 3d75a842a4df..a669019fe5b2 100644
@@ -51,7 +51,7 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
 # we're building from a tarball and that they've already been fetched by
 # make-release/tarball scripts.
 submodules:
-	if test -d edk2/.git; then \
+	if test -d edk2/.git -o -f edk2/.git; then \
 		cd edk2 && git submodule update --init --force -- \
 			ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \
 			BaseTools/Source/C/BrotliCompress/brotli \
Signature · 1 line
2.35.1
#9 lore raw

Re: [PATCH 04/11] edk2: .git can be a file

Quoted 10 lines · Gerd Hoffmann
---
 roms/Makefile.edk2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile.edk2 +0 -0
index 3d75a842a4df..a669019fe5b2 100644

roms/Makefile.edk2 all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \ · line 54

Quoted 5 lines
roms/Makefile.edk2 +1 -1
@@ -51,7 +51,7 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
 # we're building from a tarball and that they've already been fetched by
 # make-release/tarball scripts.
 submodules:
-	if test -d edk2/.git; then \
+	if test -d edk2/.git -o -f edk2/.git; then \

'test ... -o ...' is not portable. Either write this as:

if test -d edk2/.git || test -f edk2/.git; then \

or go with the shorter:

if test -e edk2/.git; then \

Quoted 7 lines
roms/Makefile.edk2 +0 -0
 		cd edk2 && git submodule update --init --force -- \
 			ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \
 			BaseTools/Source/C/BrotliCompress/brotli \
Signature · 1 line
2.35.1
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#10 lore raw

PATCH 5/11 edk2: add microvm build

In reply to Gerd Hoffmann
---
 roms/Makefile.edk2 | 11 +++++++++++
 1 file changed, 11 insertions(+)
roms/Makefile.edk2 +11 -0
index a669019fe5b2..57996c968687 100644
@@ -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 \
 		$@
Signature · 1 line
2.35.1
#12 lore raw

Re: [PATCH 05/11] edk2: add microvm build

In reply to Gerd Hoffmann
Quoted 1 line · Gerd Hoffmann

Out of interest how do you usually trigger these builds?

➜ make pc-bios/edk2-x86_64-microvm.fd
GIT ui/keycodemapdb meson tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc capstone slirp
make: *** No rule to make target 'pc-bios/edk2-x86_64-microvm.fd'. Stop. 🕙11:56:30 alex@zen:qemu.git/builds/all on  review/edk2-version-bump [$!?] [🔴 USAGE] ✗ cd roms/
🕙11:57:07 alex@zen:builds/all/roms on  review/edk2-version-bump [$!?] ➜ make ../pc-bios/edk2-x86_64-microvm.fd
make: *** No rule to make target '../pc-bios/edk2-x86_64-microvm.fd'. Stop. 🕙11:57:10 alex@zen:builds/all/roms on  review/edk2-version-bump [$!?] [🔴 USAGE] ✗

Quoted 33 lines
---
 roms/Makefile.edk2 | 11 +++++++++++
 1 file changed, 11 insertions(+)
roms/Makefile.edk2 +11 -0
index a669019fe5b2..57996c968687 100644
@@ -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 \
 		$@
Signature · 1 line
Alex Bennée
#13 lore raw

Re: [PATCH 05/11] edk2: add microvm build

Quoted 6 lines · Alex Bennée
Quoted 1 line · Gerd Hoffmann

Out of interest how do you usually trigger these builds?

make -C roms efi

(try "make -C roms help" for all firmware build targets).

HTH,
Gerd

#14 lore raw

Re: [PATCH 05/11] edk2: add microvm build

Quoted 11 lines · Gerd Hoffmann
Quoted 6 lines · Alex Bennée
Quoted 1 line · Gerd Hoffmann

Out of interest how do you usually trigger these builds?

make -C roms efi

(try "make -C roms help" for all firmware build targets).

See also the 'build-edk2' job in .gitlab-ci.d/edk2.yml.

#16 lore raw

PATCH 6/11 edk2: update binaries to stable202202

In reply to Gerd Hoffmann

The switch to edk2 RELEASE builds changes the memory layout a bit, resulting in a acpi table change.

/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20210604 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
- * Disassembly of tests/data/acpi/virt/SSDT.memhp, Tue Mar 8 10:58:42 2022
+ * Disassembly of /tmp/aml-O5YZI1, Tue Mar 8 10:58:42 2022
*
* Original Table Header:

  *     Signature        "SSDT"
  *     Length           0x000002E0 (736)
  *     Revision         0x01
- *     Checksum         0x3F
+ *     Checksum         0x1B
  *     OEM ID           "BOCHS "
  *     OEM Table ID     "NVDIMM"
  *     OEM Revision     0x00000001 (1)
  *     Compiler ID      "BXPC"
  *     Compiler Version 0x00000001 (1)
  */
 DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001)
 {
     Scope (\_SB)
     {
         Device (NVDR)
         {
             Name (_HID, "ACPI0012" /* NVDIMM Root Device */)  // _HID: Hardware ID
             Method (NCAL, 5, Serialized)
             {
                 Local6 = MEMA /* \MEMA */
                 {
                     Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x02))
                 }
             }

             Device (NV02)
             {
                 Name (_ADR, 0x03)  // _ADR: Address
                 Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                 {
                     Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x03))
                 }
             }
         }
     }

- Name (MEMA, 0x43D10000)
+ Name (MEMA, 0x43F50000)
}

---
 pc-bios/edk2-aarch64-code.fd.bz2       | Bin 1507722 -> 1161290 bytes
 pc-bios/edk2-arm-code.fd.bz2           | Bin 1503187 -> 1161845 bytes
 pc-bios/edk2-i386-code.fd.bz2          | Bin 1646741 -> 1282120 bytes
 pc-bios/edk2-i386-secure-code.fd.bz2   | Bin 1860546 -> 1473677 bytes
 pc-bios/edk2-x86_64-code.fd.bz2        | Bin 1680164 -> 1327522 bytes
 pc-bios/edk2-x86_64-microvm.fd.bz2     | Bin 0 -> 1309407 bytes
 pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 1912112 -> 1513711 bytes
 7 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/edk2-x86_64-microvm.fd.bz2
pc-bios/edk2-aarch64-code.fd.bz2 binary +0 -0
index 5bf311464a79a0fc72d021b1a4a3faff2d31bf46..0262f5bd8f72f95e23fddebef40170887270928e 100644
GIT binary patch
pc-bios/edk2-arm-code.fd.bz2 binary +0 -0
index 7a98069814dc1f4255eed8c3be98453b3df5f249..4ca97b43eaab396eb543cc522765a6ff5ec76989 100644
GIT binary patch
pc-bios/edk2-i386-code.fd.bz2 binary +0 -0
index e7b1befe2cfe73df331a39c85e54c6f048a1f22e..6e02c9b995b548c170c8d5797ee5f79baf0afcf3 100644
GIT binary patch
pc-bios/edk2-i386-secure-code.fd.bz2 binary +0 -0
index b5df5bed3086b1e74500de90312dfbae1d33f784..a4b1cc92bdd55a53363d70551c41a2f5b52e41ca 100644
GIT binary patch
pc-bios/edk2-x86_64-code.fd.bz2 binary +0 -0
index e1654d4003b77ed1f9530d30138fed6d847cdf6b..37bfb0dbed7bc6a717755de95450753d575de963 100644
GIT binary patch
pc-bios/edk2-x86_64-microvm.fd.bz2 new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..1d65c61ded38cbf810d64b78420b04b1bc2df7f6
GIT binary patch
pc-bios/edk2-x86_64-secure-code.fd.bz2 binary +0 -0
index 767274c38c7f56069c64a068c1896acb62480a5a..76dc6d5aad8d54966adfa86c69b4fde2b16f1fe3 100644
GIT binary patch
Signature · 1 line
2.35.1
#17 lore raw

Re: [PATCH 06/11] edk2: update binaries to stable202202

Quoted 24 lines · Gerd Hoffmann

The switch to edk2 RELEASE builds changes the memory layout a bit, resulting in a acpi table change.

/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20210604 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
- * Disassembly of tests/data/acpi/virt/SSDT.memhp, Tue Mar 8 10:58:42 2022
+ * Disassembly of /tmp/aml-O5YZI1, Tue Mar 8 10:58:42 2022
*
* Original Table Header:

  *     Signature        "SSDT"
  *     Length           0x000002E0 (736)
  *     Revision         0x01
- *     Checksum         0x3F
+ *     Checksum         0x1B
  *     OEM ID           "BOCHS "
  *     OEM Table ID     "NVDIMM"
  *     OEM Revision     0x00000001 (1)
  *     Compiler ID      "BXPC"
  *     Compiler Version 0x00000001 (1)
Quoted 1 line

*/

Let's drop above two chunks from commit log please, they aren't really informative.

Quoted 372,073 lines

DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001)

 {
     Scope (\_SB)
     {
         Device (NVDR)
         {
             Name (_HID, "ACPI0012" /* NVDIMM Root Device */)  // _HID: Hardware ID
             Method (NCAL, 5, Serialized)
             {
                 Local6 = MEMA /* \MEMA */
                 {
                     Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x02))
                 }
             }

             Device (NV02)
             {
                 Name (_ADR, 0x03)  // _ADR: Address
                 Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                 {
                     Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x03))
                 }
             }
         }
     }
(quoted diff) +1 -1
-    Name (MEMA, 0x43D10000)
+    Name (MEMA, 0x43F50000)
 }
---
 pc-bios/edk2-aarch64-code.fd.bz2       | Bin 1507722 -> 1161290 bytes
 pc-bios/edk2-arm-code.fd.bz2           | Bin 1503187 -> 1161845 bytes
 pc-bios/edk2-i386-code.fd.bz2          | Bin 1646741 -> 1282120 bytes
 pc-bios/edk2-i386-secure-code.fd.bz2   | Bin 1860546 -> 1473677 bytes
 pc-bios/edk2-x86_64-code.fd.bz2        | Bin 1680164 -> 1327522 bytes
 pc-bios/edk2-x86_64-microvm.fd.bz2     | Bin 0 -> 1309407 bytes
 pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 1912112 -> 1513711 bytes
 7 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/edk2-x86_64-microvm.fd.bz2
pc-bios/edk2-aarch64-code.fd.bz2 binary +0 -0
index 5bf311464a79a0fc72d021b1a4a3faff2d31bf46..0262f5bd8f72f95e23fddebef40170887270928e 100644
GIT binary patch
pc-bios/edk2-arm-code.fd.bz2 binary +0 -0
index 7a98069814dc1f4255eed8c3be98453b3df5f249..4ca97b43eaab396eb543cc522765a6ff5ec76989 100644
GIT binary patch
pc-bios/edk2-i386-code.fd.bz2 binary +0 -0
index e7b1befe2cfe73df331a39c85e54c6f048a1f22e..6e02c9b995b548c170c8d5797ee5f79baf0afcf3 100644
GIT binary patch
pc-bios/edk2-i386-secure-code.fd.bz2 binary +0 -0
index b5df5bed3086b1e74500de90312dfbae1d33f784..a4b1cc92bdd55a53363d70551c41a2f5b52e41ca 100644
GIT binary patch
pc-bios/edk2-x86_64-code.fd.bz2 binary +0 -0
index e1654d4003b77ed1f9530d30138fed6d847cdf6b..37bfb0dbed7bc6a717755de95450753d575de963 100644
GIT binary patch
pc-bios/edk2-x86_64-microvm.fd.bz2 new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..1d65c61ded38cbf810d64b78420b04b1bc2df7f6
GIT binary patch
pc-bios/edk2-x86_64-secure-code.fd.bz2 binary +0 -0
index 767274c38c7f56069c64a068c1896acb62480a5a..76dc6d5aad8d54966adfa86c69b4fde2b16f1fe3 100644
GIT binary patch
Signature · 2 lines
-- 
2.35.1
#18 lore raw

PATCH 7/11 tests/acpi: update expected data files

In reply to Gerd Hoffmann
---
 tests/data/acpi/virt/SSDT.memhp | Bin 736 -> 736 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
tests/data/acpi/virt/SSDT.memhp binary +0 -0
index 375d7b6fc85a484f492a26ccd355c205f2c34473..4c363a6d95a7e2e826568c85f5719127748e7932 100644
GIT binary patch
Signature · 1 line
2.35.1
#19 lore raw

Re: [PATCH 07/11] tests/acpi: update expected data files

On Tue, 8 Mar 2022 15:55:17 +0100
Gerd Hoffmann <[email protected]> wrote:

I'd duplicate table changes fro 6/11 here,
so whoever looks on this commit later won't have to be a detective.

Quoted 14 lines
---
 tests/data/acpi/virt/SSDT.memhp | Bin 736 -> 736 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
tests/data/acpi/virt/SSDT.memhp binary +0 -0
index 375d7b6fc85a484f492a26ccd355c205f2c34473..4c363a6d95a7e2e826568c85f5719127748e7932 100644
GIT binary patch
#20 lore raw

PATCH 8/11 tests/acpi: disallow virt memory hotplug changes

In reply to Gerd Hoffmann
---
 tests/qtest/bios-tables-test-allowed-diff.h | 1 -
 1 file changed, 1 deletion(-)
tests/qtest/bios-tables-test-allowed-diff.h +0 -1
index e569098abddc..dfb8523c8bf4 100644
@@ -1,2 +1 @@
 /* List of comma-separated changed AML files to ignore */
-"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
2.35.1
#21 lore raw

PATCH 9/11 edk2/docker: install python3

In reply to Gerd Hoffmann

python2 is not supported any more,
so go install python3 instead.

---
 .gitlab-ci.d/edk2/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.d/edk2/Dockerfile +1 -1
index 13029310f6d6..7484b3846d71 100644
@@ -20,7 +20,7 @@ RUN apt update \
         iasl \
         make \
         nasm \
-        python \
+        python3 \
         uuid-dev \
     && \
     \
Signature · 1 line
2.35.1
#23 lore raw

PATCH 10/11 edk2/docker: use ubuntu 18.04

In reply to Gerd Hoffmann

Upstream CI uses ubuntu 18.04 too, so pick
that version (instead of something newer).

---
 .gitlab-ci.d/edk2/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.d/edk2/Dockerfile +1 -1
index 7484b3846d71..bbe50ff8328a 100644
@@ -1,7 +1,7 @@
 #
 # Docker image to cross-compile EDK2 firmware binaries
 #
-FROM ubuntu:16.04
+FROM ubuntu:18.04
 
 MAINTAINER Philippe Mathieu-Daudé <[email protected]>
 
Signature · 1 line
2.35.1
#25 lore raw

PATCH 11/11 MAINTAINERS: take edk2

In reply to Gerd Hoffmann

Philippe Mathieu-Daudé <[email protected]>

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 68adaac373c7..ad1c9a7ea133 100644
@@ -3144,7 +3144,7 @@ F: docs/interop/firmware.json
 
 EDK2 Firmware
 M: Philippe Mathieu-Daudé <[email protected]>
-R: Gerd Hoffmann <[email protected]>
+M: Gerd Hoffmann <[email protected]>
 S: Supported
 F: hw/i386/*ovmf*
 F: pc-bios/descriptors/??-edk2-*.json
Signature · 1 line
2.35.1
Reviewed-by on v1 11/11
#26 lore raw

Re: [PATCH 11/11] MAINTAINERS: take edk2

Quoted 1 line · Gerd Hoffmann

Philippe Mathieu-Daudé <[email protected]>

Hmm?

Quoted 10 lines
---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index 68adaac373c7..ad1c9a7ea133 100644

MAINTAINERS F: docs/interop/firmware.json · line 3147

Quoted 5 lines
MAINTAINERS +1 -1
@@ -3144,7 +3144,7 @@ F: docs/interop/firmware.json
 
  EDK2 Firmware
  M: Philippe Mathieu-Daudé <[email protected]>
-R: Gerd Hoffmann <[email protected]>
+M: Gerd Hoffmann <[email protected]>

Thanks :)

Quoted 3 lines
MAINTAINERS +0 -0
  S: Supported
  F: hw/i386/*ovmf*
  F: pc-bios/descriptors/??-edk2-*.json
#27 lore raw

Re: [PATCH 11/11] MAINTAINERS: take edk2

Quoted 4 lines · Philippe Mathieu-Daudé
Quoted 1 line · Gerd Hoffmann

Philippe Mathieu-Daudé <[email protected]>

Hmm?

Oops, Cc: prefix missing.

Quoted 6 lines
Quoted 6 lines
---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 11 lines

MAINTAINERS F: docs/interop/firmware.json · line 3146

Quoted 9 lines
MAINTAINERS +1 -1
index 68adaac373c7..ad1c9a7ea133 100644
@@ -3144,7 +3144,7 @@ F: docs/interop/firmware.json
  EDK2 Firmware
  M: Philippe Mathieu-Daudé <[email protected]>
-R: Gerd Hoffmann <[email protected]>
+M: Gerd Hoffmann <[email protected]>

Thanks :)

Any chance you can take over the macos support bits in return?

thanks,
Gerd

#28 lore raw

MAINTAINERS: macOS host support (was: MAINTAINERS: take edk2)

Quoted 14 lines · Gerd Hoffmann
Quoted 11 lines · Philippe Mathieu-Daudé

MAINTAINERS F: docs/interop/firmware.json · line 3146

Quoted 9 lines
MAINTAINERS +1 -1
index 68adaac373c7..ad1c9a7ea133 100644
@@ -3144,7 +3144,7 @@ F: docs/interop/firmware.json
   EDK2 Firmware
   M: Philippe Mathieu-Daudé <[email protected]>
-R: Gerd Hoffmann <[email protected]>
+M: Gerd Hoffmann <[email protected]>

Thanks :)

Quoted 1 line

Any chance you can take over the macos support bits in return?

I suppose you mean the "Core Audio framework backend" section?

There is indeed a need for macOS host support maintenance, as patches hang on the list until Peter finally takes them via the arm tree.

Not sure what you have in mind. I'm totally new to the macOS/Darwin world, and have no choice but to use it as primary workstation and for CI builds, so I can help with overall testing / maintenance.

Peter, since you take some macOS patches, would you like to maintain this officially? Since I doubt you want to take yet another responsibility, what about having a co-maintained section, including technical expertise from Akihiko / Joelle / Christian? (Cc'ed)

Regards,

Phil.

#29 lore raw

Re: MAINTAINERS: macOS host support (was: MAINTAINERS: take edk2)

Quoted 16 lines · On Mittwoch, 9. März 2022 11:05:02 CET Philippe Mathieu-Daudé wrote:
Quoted 15 lines · Gerd Hoffmann
Quoted 13 lines · Philippe Mathieu-Daudé

MAINTAINERS F: docs/interop/firmware.json · line 3148

Quoted 11 lines
MAINTAINERS +1 -1
index 68adaac373c7..ad1c9a7ea133 100644
@@ -3144,7 +3144,7 @@ F: docs/interop/firmware.json
 
   EDK2 Firmware
   M: Philippe Mathieu-Daudé <[email protected]>
 
-R: Gerd Hoffmann <[email protected]>
+M: Gerd Hoffmann <[email protected]>

Thanks :)

Quoted 6 lines
Quoted 1 line

Any chance you can take over the macos support bits in return?

I suppose you mean the "Core Audio framework backend" section?

There is indeed a need for macOS host support maintenance, as patches hang on the list until Peter finally takes them via the arm tree.

Most of them are macOS UI patches I think. There are not many CoreAudio patches coming in.

Quoted 10 lines

Not sure what you have in mind. I'm totally new to the macOS/Darwin world, and have no choice but to use it as primary workstation and for CI builds, so I can help with overall testing / maintenance.

Peter, since you take some macOS patches, would you like to maintain this officially? Since I doubt you want to take yet another responsibility, what about having a co-maintained section, including technical expertise from Akihiko / Joelle / Christian? (Cc'ed)

Regards,

Also CCing Cameron on this, just in case someone at Apple could spend some slices on QEMU macOS patches in general as well.

As for my part: I try to help out more on the macOS front. As there's now macOS host support for 9p I have to start QEMU testing on macOS locally anyway. Too bad that macOS CI tests on Github are no longer available BTW.

Best regards,
Christian Schoenebeck

#30 lore raw

Re: MAINTAINERS: macOS host support (was: MAINTAINERS: take edk2)

Quoted 10 lines · Christian Schoenebeck
Quoted 9 lines · On Mittwoch, 9. März 2022 11:05:02 CET Philippe Mathieu-Daudé wrote:

Not sure what you have in mind. I'm totally new to the macOS/Darwin world, and have no choice but to use it as primary workstation and for CI builds, so I can help with overall testing / maintenance.

Peter, since you take some macOS patches, would you like to maintain this officially? Since I doubt you want to take yet another responsibility, what about having a co-maintained section, including technical expertise from Akihiko / Joelle / Christian? (Cc'ed)

Quoted 8 lines
Quoted 1 line

Regards,

Also CCing Cameron on this, just in case someone at Apple could spend some slices on QEMU macOS patches in general as well.

As for my part: I try to help out more on the macOS front. As there's now macOS host support for 9p I have to start QEMU testing on macOS locally anyway. Too bad that macOS CI tests on Github are no longer available BTW.

Note QEMU gets macOS CI coverage in GitLab. We use a clever trick by which we use 'cirrus-run' from the GitLab job to trigger a build in Cirrus CI's macOS builders, and pull the results back when its done.

Any contributor can get this working on their QEMU fork too, if they configure the needed Cirrus CI API token. See the docs in

.gitlab-ci.d/cirrus/README.rst

This is enough for build + automated tests.

Obviously of limited use for testing UI functionality or general host OS integration like audio, which pretty much requires access to a real machine for a maintainer to use interactively.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#31 lore raw

Re: MAINTAINERS: macOS host support (was: MAINTAINERS: take edk2)

Quoted 24 lines · On Mittwoch, 9. März 2022 12:44:16 CET Daniel P. Berrangé wrote:
Quoted 10 lines · Christian Schoenebeck
Quoted 9 lines · On Mittwoch, 9. März 2022 11:05:02 CET Philippe Mathieu-Daudé wrote:

Not sure what you have in mind. I'm totally new to the macOS/Darwin world, and have no choice but to use it as primary workstation and for CI builds, so I can help with overall testing / maintenance.

Peter, since you take some macOS patches, would you like to maintain this officially? Since I doubt you want to take yet another responsibility, what about having a co-maintained section, including technical expertise from Akihiko / Joelle / Christian? (Cc'ed)

Quoted 8 lines
Quoted 1 line

Regards,

Also CCing Cameron on this, just in case someone at Apple could spend some slices on QEMU macOS patches in general as well.

As for my part: I try to help out more on the macOS front. As there's now macOS host support for 9p I have to start QEMU testing on macOS locally anyway. Too bad that macOS CI tests on Github are no longer available BTW.

Note QEMU gets macOS CI coverage in GitLab. We use a clever trick by which we use 'cirrus-run' from the GitLab job to trigger a build in Cirrus CI's macOS builders, and pull the results back when its done.

Quoted 6 lines

Any contributor can get this working on their QEMU fork too, if they configure the needed Cirrus CI API token. See the docs in

.gitlab-ci.d/cirrus/README.rst

This is enough for build + automated tests.

Does this mean that people no longer have to pull their credit card just for running CI tests on Gitlab?

And as this approach seems to use an indirection with Cirrus CI via Github. Will it be sufficient to just run QEMU CI jobs on Github?

Why have the previously existing QEMU CI jobs been pulled from Github anyway?

Best regards,
Christian Schoenebeck

#32 lore raw

Re: MAINTAINERS: macOS host support (was: MAINTAINERS: take edk2)

Quoted 28 lines · Christian Schoenebeck
Quoted 27 lines · On Mittwoch, 9. März 2022 12:44:16 CET Daniel P. Berrangé wrote:
Quoted 10 lines · Christian Schoenebeck
Quoted 9 lines · On Mittwoch, 9. März 2022 11:05:02 CET Philippe Mathieu-Daudé wrote:

Not sure what you have in mind. I'm totally new to the macOS/Darwin world, and have no choice but to use it as primary workstation and for CI builds, so I can help with overall testing / maintenance.

Peter, since you take some macOS patches, would you like to maintain this officially? Since I doubt you want to take yet another responsibility, what about having a co-maintained section, including technical expertise from Akihiko / Joelle / Christian? (Cc'ed)

Quoted 8 lines
Quoted 1 line

Regards,

Also CCing Cameron on this, just in case someone at Apple could spend some slices on QEMU macOS patches in general as well.

As for my part: I try to help out more on the macOS front. As there's now macOS host support for 9p I have to start QEMU testing on macOS locally anyway. Too bad that macOS CI tests on Github are no longer available BTW.

Note QEMU gets macOS CI coverage in GitLab. We use a clever trick by which we use 'cirrus-run' from the GitLab job to trigger a build in Cirrus CI's macOS builders, and pull the results back when its done.

Any contributor can get this working on their QEMU fork too, if they configure the needed Cirrus CI API token. See the docs in

Quoted 6 lines
Quoted 3 lines

.gitlab-ci.d/cirrus/README.rst

This is enough for build + automated tests.

Does this mean that people no longer have to pull their credit card just for running CI tests on Gitlab?

Not really. The CC validation is something GitLab have had to force onto all new accounts due to cryptominer abuse of their free shared CI runners :-( If you have VMs somewhere you could theoretically spin up your own CI runners instead of using the shared runners and that could avoid the CC validation need.

Quoted 4 lines

And as this approach seems to use an indirection with Cirrus CI via Github. Will it be sufficient to just run QEMU CI jobs on Github?

Why have the previously existing QEMU CI jobs been pulled from Github anyway?

We've never used GitHub for CI with QEMU upsteam. Before this we used Travis first, and Cirrus CI. Travis effectively killed off their free plan for x86 builders, and Cirrus CI is too restrictive to run enough jobs. GitLab is our primary target

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|