version: Bump QEMU to v10.1.0

A minor release of QEMU is out, so update to it for fixes and features.

QEMU changelog: https://wiki.qemu.org/ChangeLog/10.1

Notes:
* AVX support is not an option to be enabled / disabled anymore.
* Passt requires Glibc 2.40.+, which means a dependency on Ubuntu 25.04
  or newer, thus we're disabling it.

Signed-off-by: Alex Tibbles <alex@bleg.org>
This commit is contained in:
Alex Tibbles
2025-09-13 10:16:19 -04:00
committed by Fabiano Fidêncio
parent e3aa973995
commit 710c117a24
4 changed files with 19 additions and 8 deletions

View File

@@ -389,7 +389,9 @@ generate_qemu_options() {
qemu_options+=(size:--disable-relocatable) qemu_options+=(size:--disable-relocatable)
qemu_options+=(size:--disable-rutabaga-gfx) qemu_options+=(size:--disable-rutabaga-gfx)
qemu_options+=(size:--disable-vmdk) qemu_options+=(size:--disable-vmdk)
if ! gt_eq "${qemu_version}" "10.1.0" ; then
qemu_options+=(size:--disable-avx512bw) qemu_options+=(size:--disable-avx512bw)
fi
qemu_options+=(size:--disable-vpc) qemu_options+=(size:--disable-vpc)
qemu_options+=(size:--disable-vhdx) qemu_options+=(size:--disable-vhdx)
qemu_options+=(size:--disable-hv-balloon) qemu_options+=(size:--disable-hv-balloon)
@@ -447,12 +449,21 @@ generate_qemu_options() {
# AVX2 is enabled by default by x86_64, make sure it's enabled only # AVX2 is enabled by default by x86_64, make sure it's enabled only
# for that architecture # for that architecture
if ! gt_eq "${qemu_version}" "10.1.0" ; then
if [ "$arch" == x86_64 ]; then if [ "$arch" == x86_64 ]; then
qemu_options+=(speed:--enable-avx2) qemu_options+=(speed:--enable-avx2)
qemu_options+=(speed:--enable-avx512bw) qemu_options+=(speed:--enable-avx512bw)
else else
qemu_options+=(speed:--disable-avx2) qemu_options+=(speed:--disable-avx2)
fi fi
fi
# Disable passt support, as it'd bring glibc 2.40.x dependency,
# and it is only available on Ubuntu 25.04 or newer.
if gt_eq "${qemu_version}" "10.1.0" ; then
qemu_options+=(functionality:--disable-passt)
fi
# We're disabling pmem support, it is heavilly broken with # We're disabling pmem support, it is heavilly broken with
# Ubuntu's static build of QEMU # Ubuntu's static build of QEMU
qemu_options+=(functionality:--disable-libpmem) qemu_options+=(functionality:--disable-libpmem)

View File

@@ -88,8 +88,8 @@ assets:
qemu: qemu:
description: "VMM that uses KVM" description: "VMM that uses KVM"
url: "https://github.com/qemu/qemu" url: "https://github.com/qemu/qemu"
version: "v10.0.3" version: "v10.1.0"
tag: "v10.0.3" tag: "v10.1.0"
# Do not include any non-full release versions # Do not include any non-full release versions
# Break the line *without CR or space being appended*, to appease # Break the line *without CR or space being appended*, to appease
# yamllint, and note the deliberate ' ' at the end of the expression. # yamllint, and note the deliberate ' ' at the end of the expression.