From 0430794952f86f89366ec66a1cbf255c49ba8986 Mon Sep 17 00:00:00 2001 From: Ryan Savino Date: Fri, 23 Feb 2024 14:48:19 -0600 Subject: [PATCH] qemu: upgrade to 8.2.4 There is a known issue in qemu 7.2.0 that causes kernel-hashes to fail the verification of the launch binaries for the SEV legacy use case. Upgraded to qemu 8.2.4. new available features disabled. Fixes: #9148 Signed-Off-By: Ryan Savino --- .../patches/tag_patches/v8.2.4/no_patches.txt | 0 tools/packaging/scripts/configure-hypervisor.sh | 15 +++++++++++++++ versions.yaml | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tools/packaging/qemu/patches/tag_patches/v8.2.4/no_patches.txt diff --git a/tools/packaging/qemu/patches/tag_patches/v8.2.4/no_patches.txt b/tools/packaging/qemu/patches/tag_patches/v8.2.4/no_patches.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tools/packaging/scripts/configure-hypervisor.sh b/tools/packaging/scripts/configure-hypervisor.sh index 8527618778..d47d3ace1c 100755 --- a/tools/packaging/scripts/configure-hypervisor.sh +++ b/tools/packaging/scripts/configure-hypervisor.sh @@ -387,6 +387,21 @@ generate_qemu_options() { qemu_options+=(size:--disable-dmg) qemu_options+=(size:--disable-parallels) + # Disable new available features from 8.2.4 + qemu_options+=(size:--disable-colo-proxy) + qemu_options+=(size:--disable-debug-graph-lock) + qemu_options+=(size:--disable-hexagon-idef-parser) + qemu_options+=(size:--disable-libdw) + qemu_options+=(size:--disable-pipewire) + qemu_options+=(size:--disable-pixman) + qemu_options+=(size:--disable-relocatable) + qemu_options+=(size:--disable-rutabaga-gfx) + qemu_options+=(size:--disable-vmdk) + qemu_options+=(size:--disable-avx512bw) + qemu_options+=(size:--disable-vpc) + qemu_options+=(size:--disable-vhdx) + qemu_options+=(size:--disable-hv-balloon) + #--------------------------------------------------------------------- # Enabled options diff --git a/versions.yaml b/versions.yaml index a59c86c109..5b8de540fd 100644 --- a/versions.yaml +++ b/versions.yaml @@ -88,8 +88,8 @@ assets: qemu: description: "VMM that uses KVM" url: "https://github.com/qemu/qemu" - version: "v7.2.0" - tag: "v7.2.0" + version: "v8.2.4" + tag: "v8.2.4" # Do not include any non-full release versions # Break the line *without CR or space being appended*, to appease # yamllint, and note the deliberate ' ' at the end of the expression.