edk2: update to stable202202
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
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
@@ -1 +1,2 @@/* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
2.35.1
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
Signed-off-by Gerd Hoffmann <[email protected]>--- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+)tests/qtest/bios-tables-test-allowed-diff.h +1
-0@@ -1 +1,2 @@/* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
Alex Bennée
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
@@ -1 +1 @@ -Subproject commit 06dc822d045c2bb42e497487935485302486e151 +Subproject commit b24306f15daa2ff8510b06702114724b33895d3c
Signature · 1 line
2.35.1
Re: [PATCH 02/11] edk2: update submodule to stable202202
roms/edk2 line 1
Quoted 12 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/edk2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)roms/edk2 +1
-1@@ -1 +1 @@ -Subproject commit 06dc822d045c2bb42e497487935485302486e151 +Subproject commit b24306f15daa2ff8510b06702114724b33895d3c
Signature · 1 line
Alex Bennée
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
@@ -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
@@ -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
Re: [PATCH 03/11] edk2: switch to release builds
Quoted 5 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile.edk2 | 17 +++++++++-------- roms/edk2-build.sh | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-)
Re: [PATCH 03/11] edk2: switch to release builds
In reply to Gerd HoffmannQuoted 1 line · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>
Signature · 1 line
Alex Bennée
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
@@ -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
Re: [PATCH 04/11] edk2: .git can be a file
Quoted 10 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile.edk2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)roms/Makefile.edk2 +0
-0
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
-0cd 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
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
@@ -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
Re: [PATCH 05/11] edk2: add microvm build
Quoted 4 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile.edk2 | 11 +++++++++++ 1 file changed, 11 insertions(+)
Re: [PATCH 05/11] edk2: add microvm build
In reply to Gerd HoffmannQuoted 1 line · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>
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@@ -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
Re: [PATCH 05/11] edk2: add microvm build
Quoted 6 lines · Alex Bennée
Quoted 1 line · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>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
Re: [PATCH 05/11] edk2: add microvm build
Quoted 11 lines · Gerd Hoffmann
Quoted 6 lines · Alex Bennée
Quoted 1 line · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>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.
Re: [PATCH 05/11] edk2: add microvm build
In reply to Gerd HoffmannQuoted 10 lines · Gerd Hoffmann
Quoted 6 lines · Alex Bennée
Quoted 1 line · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>Out of interest how do you usually trigger these builds?
make -C roms efi
Ah good to know. I used instructions here last time:
https://wiki.ubuntu.com/UEFI/EDK2
Quoted 6 lines
(try "make -C roms help" for all firmware build targets).
HTH,
Gerd
PATCH 6/11 edk2: update binaries to stable202202
In reply to Gerd HoffmannThe 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
pc-bios/edk2-arm-code.fd.bz2 binary +0 -0
pc-bios/edk2-i386-code.fd.bz2 binary +0 -0
pc-bios/edk2-i386-secure-code.fd.bz2 binary +0 -0
pc-bios/edk2-x86_64-code.fd.bz2 binary +0 -0
pc-bios/edk2-x86_64-microvm.fd.bz2 new file binary +0 -0
pc-bios/edk2-x86_64-secure-code.fd.bz2 binary +0 -0
Signature · 1 line
2.35.1
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) }Signed-off-by Gerd Hoffmann <[email protected]>--- 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.bz2pc-bios/edk2-aarch64-code.fd.bz2 binary +0
-0pc-bios/edk2-arm-code.fd.bz2 binary +0
-0pc-bios/edk2-i386-code.fd.bz2 binary +0
-0pc-bios/edk2-i386-secure-code.fd.bz2 binary +0
-0pc-bios/edk2-x86_64-code.fd.bz2 binary +0
-0pc-bios/edk2-x86_64-microvm.fd.bz2 new file binary +0
-0pc-bios/edk2-x86_64-secure-code.fd.bz2 binary +0
-0Signature · 2 lines
-- 2.35.1
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
Signature · 1 line
2.35.1
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
Signed-off-by Gerd Hoffmann <[email protected]>--- 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
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
@@ -1,2 +1 @@/* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/virt/SSDT.memhp",
Signature · 1 line
2.35.1
PATCH 9/11 edk2/docker: install python3
In reply to Gerd Hoffmannpython2 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
@@ -20,7 +20,7 @@ RUN apt update \ iasl \ make \ nasm \ - python \ + python3 \ uuid-dev \ && \ \
Signature · 1 line
2.35.1
Re: [PATCH 09/11] edk2/docker: install python3
Quoted 4 lines · Gerd Hoffmann
python2 is not supported any more,
so go install python3 instead.Signed-off-by Gerd Hoffmann <[email protected]>
Signature · 1 line
Alex Bennée
PATCH 10/11 edk2/docker: use ubuntu 18.04
In reply to Gerd HoffmannUpstream 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
@@ -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
Re: [PATCH 10/11] edk2/docker: use ubuntu 18.04
Quoted 4 lines · Gerd Hoffmann
Upstream CI uses ubuntu 18.04 too, so pick
that version (instead of something newer).Signed-off-by Gerd Hoffmann <[email protected]>
Signature · 1 line
Alex Bennée
PATCH 11/11 MAINTAINERS: take edk2
In reply to Gerd HoffmannPhilippe Mathieu-Daudé <[email protected]>
--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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]> S: Supported F: hw/i386/*ovmf* F: pc-bios/descriptors/??-edk2-*.json
Signature · 1 line
2.35.1
Re: [PATCH 11/11] MAINTAINERS: take edk2
Quoted 1 line · Gerd Hoffmann
Philippe Mathieu-Daudé <[email protected]>
Hmm?
Quoted 10 lines
Signed-off-by Gerd Hoffmann <[email protected]>--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)MAINTAINERS +0
-0
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
-0S: Supported F: hw/i386/*ovmf* F: pc-bios/descriptors/??-edk2-*.json
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
Signed-off-by Gerd Hoffmann <[email protected]>--- 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@@ -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
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@@ -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.
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@@ -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
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 :|
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.rstThis 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
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.rstThis 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 :|