version: Bump QEMU to v10.1.0

(DO-NOT-MERGE)

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 Lyn
2025-09-15 16:05:53 +08:00
parent 442f94be69
commit 78dbed02e6
4 changed files with 20 additions and 8 deletions

View File

@@ -389,7 +389,9 @@ generate_qemu_options() {
qemu_options+=(size:--disable-relocatable)
qemu_options+=(size:--disable-rutabaga-gfx)
qemu_options+=(size:--disable-vmdk)
qemu_options+=(size:--disable-avx512bw)
if ! gt_eq "${qemu_version}" "10.1.0" ; then
qemu_options+=(size:--disable-avx512bw)
fi
qemu_options+=(size:--disable-vpc)
qemu_options+=(size:--disable-vhdx)
qemu_options+=(size:--disable-hv-balloon)
@@ -447,12 +449,22 @@ generate_qemu_options() {
# AVX2 is enabled by default by x86_64, make sure it's enabled only
# for that architecture
if [ "$arch" == x86_64 ]; then
qemu_options+=(speed:--enable-avx2)
qemu_options+=(speed:--enable-avx512bw)
else
qemu_options+=(speed:--disable-avx2)
if ! gt_eq "${qemu_version}" "10.1.0" ; then
if [ "$arch" == x86_64 ]; then
qemu_options+=(speed:--enable-avx2)
qemu_options+=(speed:--enable-avx512bw)
else
qemu_options+=(speed:--disable-avx2)
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
# Ubuntu's static build of QEMU
qemu_options+=(functionality:--disable-libpmem)

View File

@@ -88,8 +88,8 @@ assets:
qemu:
description: "VMM that uses KVM"
url: "https://github.com/qemu/qemu"
version: "v10.0.3"
tag: "v10.0.3"
version: "v10.1.0"
tag: "v10.1.0"
# 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.