doc and testing updates
The following changes since commit 9cda597a1a3903d090e8e55e23f5b8a859da88ab:
Merge tag 'pbouvier/pr/fixes_11.2-20261127' of https://gitlab.com/p-b-o/qemu into staging (2026-11-29 13:42:36 -0800)
are available in the Git repository at:
https://gitlab.com/stsquad/qemu.git tags/pull-11.2-main-test-301126-1
for you to fetch changes up to 1b8266408913722b6f257f19865993e178f73a1a:
docs/virtio: add note about virtio-gpu acceleration (2026-11-30 11:38:37 +0000)
----------------------------------------------------------------
testing and doc updates:
- clean-up MAINTAINERS entries for consistency
- update the security link in MAINTAINERS
- fix-up immutable tuxboot URLs
- remove unused headers in libqtest
- update comment on cpu_io_recompile
- add note on security status of accelerated virtio-gpu
----------------------------------------------------------------
Alex Bennée (6):
MAINTAINERS: update Daniel's entries to be consistent
MAINTAINERS: make LIU's entries consistent
MAINTAINERS: use consistent capitalisation for Alistair
MAINTAINERS: update security reporting links accel/tcg: update stale comment for cpu_io_recompile docs/virtio: add note about virtio-gpu acceleration
Brad Smith (1):
tests/qtest: remove unused prctl/procctl headers
Marc-André Lureau (1):
tests/functional: use immutable tuxboot kernel URLs
MAINTAINERS | 44 +++++++++++++--------------- docs/system/devices/virtio/virtio-gpu.rst | 12 ++++++++ docs/system/security.rst | 5 ++++ accel/tcg/translate-all.c | 6 ++-- tests/qtest/libqtest.c | 6 ---- .mailmap | 1 + tests/functional/aarch64/test_tuxrun.py | 4 +-- tests/functional/riscv64/test_milkv_duo.py | 4 +-- tests/functional/riscv64/test_tt_atlantis.py | 2 +- tests/functional/riscv64/test_tuxrun.py | 2 +- tests/functional/s390x/test_tuxrun.py | 4 +-- tests/functional/x86_64/test_tuxrun.py | 4 +-- 12 files changed, 53 insertions(+), 41 deletions(-)
Signature · 1 line
2.47.3
[PULL 5/8] tests/functional: use immutable tuxboot kernel URLs
From: Marc-André Lureau <[email protected]>
tuxboot rebuilds the 6.18.54 kernel images in place, so the URLs without a datestamp now serve content that does not match the recorded hashes and the tuxrun tests fail to fetch their assets. Point the x86_64, arm64 and s390 tests at the immutable 20260930 snapshots and keep the hashes that were recorded against them, instead of implicitly switching to the rebuilt images.
Do the same for the riscv64 6.11.9 kernel assets, which still used non-datestamped URLs; their recorded hashes already match the 20241122 snapshot.
Message-ID: <[email protected]>
Message-ID: <[email protected]>
tests/functional/aarch64/test_tuxrun.py +2 -2
@@ -17,10 +17,10 @@ class TuxRunAarch64Test(TuxRunBaselineTest): ASSET_ARM64_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/arm64/Image.gz', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/arm64/Image.gz', '39f4633bbcb444267d4d829bd28d8868a287c4c160cda64b0fd23fb090571c4e') ASSET_ARM64_VMLINUX = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/arm64/vmlinux.xz', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/arm64/vmlinux.xz', '6487eb113ef6e841aedab6cb6fa704006377d68f64dd544570aa42f462a52b85') ASSET_ARM64_ROOTFS = Asset( 'https://storage.tuxboot.com/buildroot/20260924/arm64/rootfs.ext4.zst',
tests/functional/riscv64/test_milkv_duo.py +2 -2
@@ -14,11 +14,11 @@ class MilkvDuoMachine(LinuxKernelTest): timeout = 120 ASSET_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image', + 'https://storage.tuxboot.com/kernels/20241122/6.11.9/riscv64/Image', '174f8bb87f08961e54fa3fcd954a8e31f4645f6d6af4dd43983d5e9841490fb0' ) ASSET_DTBS = Asset( - 'https://storage.tuxboot.com/kernels/6.11.9/riscv64/dtbs.tar.xz', + 'https://storage.tuxboot.com/kernels/20241122/6.11.9/riscv64/dtbs.tar.xz', '97e5e65a7e6c68303e53486af120c0846ee8df572e9c15f0c4dccb831d0cef4b' ) ASSET_ROOTFS = Asset(
tests/functional/riscv64/test_tt_atlantis.py +1 -1
@@ -14,7 +14,7 @@ class TTAtlantis(LinuxKernelTest): ASSET_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image', + 'https://storage.tuxboot.com/kernels/20241122/6.11.9/riscv64/Image', '174f8bb87f08961e54fa3fcd954a8e31f4645f6d6af4dd43983d5e9841490fb0') ASSET_ROOTFS = Asset( ('https://github.com/groeck/linux-build-test/raw/'
tests/functional/riscv64/test_tuxrun.py +1 -1
@@ -17,7 +17,7 @@ class TuxRunRiscV64Test(TuxRunBaselineTest): ASSET_RISCV64_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image', + 'https://storage.tuxboot.com/kernels/20241122/6.11.9/riscv64/Image', '174f8bb87f08961e54fa3fcd954a8e31f4645f6d6af4dd43983d5e9841490fb0') ASSET_RISCV64_ROOTFS = Asset( 'https://storage.tuxboot.com/buildroot/20241119/riscv64/rootfs.ext4.zst',
tests/functional/s390x/test_tuxrun.py +2 -2
@@ -17,10 +17,10 @@ class TuxRunS390xTest(TuxRunBaselineTest): ASSET_S390X_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/s390/bzImage', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/s390/bzImage', '5efeb31754b211440e1595ab11355bb006fe78a2c0604ed0a8c55c4598b71aec') ASSET_S390X_VMLINUX = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/s390/vmlinux.xz', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/s390/vmlinux.xz', '5bbd4d34e0950f88053a9bfd16078896df4b1ee1696fc2ad62488e681a6bdd8e') ASSET_S390X_ROOTFS = Asset( 'https://storage.tuxboot.com/buildroot/20260924/s390/rootfs.ext4.zst',
tests/functional/x86_64/test_tuxrun.py +2 -2
@@ -17,10 +17,10 @@ class TuxRunX86Test(TuxRunBaselineTest): ASSET_X86_64_KERNEL = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/x86_64/bzImage', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/x86_64/bzImage', '24a3ade610c2cc426ff821050de8a35930b0371357d94cc2c334abac6658552b') ASSET_X86_64_VMLINUX = Asset( - 'https://storage.tuxboot.com/kernels/6.18.54/x86_64/vmlinux.xz', + 'https://storage.tuxboot.com/kernels/20260930/6.18.54/x86_64/vmlinux.xz', '77bf44cca48c9c1b9c142e16a2311d58b8ae3462b61bce44bcaf9243b5f26628') ASSET_X86_64_ROOTFS = Asset( 'https://storage.tuxboot.com/buildroot/20260924/x86_64/rootfs.ext4.zst',
Signature · 1 line
2.47.3
[PULL 1/8] MAINTAINERS: update Daniel's entries to be consistent
In reply to Alex BennéeWhen testing my get_maintainers.py I was shocked to see:
➜ ./scripts/get_maintainer.py --list-absent-maintainers-since "2 years ago"
Maintainer Last Seen Email(s) Subsystems
------------------------------------------------------------------------------
...
Daniel P. Berrange 2024-06-10 [email protected] QOM, QDev, Seccomp, Cryptography, Buffers, I/O Channels, User authorization, Sockets, File monitor, Functional testing framework, Build system architecture, Meson, GIT submodules
Which is of course incorrect but tripped up by the fact we have been utf-8 clean for some time. There are some entries that are correct so fix up the rest in solidarity with my fellow utf-8 using hackers ;-)
Message-ID: <[email protected]>
MAINTAINERS +14 -14
@@ -3750,7 +3750,7 @@ T: git https://github.com/kostyanf14/qemu.git qga-win32 QOM M: Paolo Bonzini <[email protected]> -R: Daniel P. Berrange <[email protected]> +R: Daniel P. Berrangé <[email protected]> S: Supported F: docs/devel/qom.rst F: include/qom/
@@ -3765,7 +3765,7 @@ F: tests/qtest/qom-test.c QDev M: Paolo Bonzini <[email protected]> -R: Daniel P. Berrange <[email protected]> +R: Daniel P. Berrangé <[email protected]> S: Supported F: docs/qdev-device-use.txt F: hw/core/qdev*
@@ -3998,14 +3998,14 @@ F: tests/qtest/dbus* F: scripts/xml-preprocess* Seccomp -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: system/qemu-seccomp.c F: include/system/seccomp.h F: tests/unit/test-seccomp.c Cryptography -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Maintained F: crypto/ F: include/crypto/
@@ -4026,20 +4026,20 @@ F: include/qemu/coroutine* F: tests/unit/test-coroutine.c Buffers -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: util/buffer.c F: include/qemu/buffer.h I/O Channels -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Maintained F: io/ F: include/io/ F: tests/unit/test-io-* User authorization -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Maintained F: authz/ F: qapi/authz.json
@@ -4047,14 +4047,14 @@ F: include/authz/ F: tests/unit/test-authz-* Sockets -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Maintained F: include/qemu/sockets.h F: util/qemu-sockets.c F: qapi/sockets.json File monitor -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: util/filemonitor*.c F: include/qemu/filemonitor.h
@@ -4192,7 +4192,7 @@ F: docs/specs/fsi.rst F: tests/qtest/aspeed_fsi-test.c Firmware schema specifications -R: Daniel P. Berrange <[email protected]> +R: Daniel P. Berrangé <[email protected]> R: Kashyap Chamarthy <[email protected]> S: Orphan F: docs/interop/firmware.json
@@ -4693,7 +4693,7 @@ F: tests/vm/freebsd Functional testing framework M: Thomas Huth <[email protected]> R: Philippe Mathieu-Daudé <[email protected]> -R: Daniel P. Berrange <[email protected]> +R: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: docs/devel/testing/functional.rst F: scripts/clean_functional_cache.py
@@ -4725,7 +4725,7 @@ F: .gitlab-ci.d/custom-runners/debian-13-ppc64le.yml Documentation ------------- Build system architecture -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: docs/devel/build-system.rst
@@ -4749,7 +4749,7 @@ Build System Meson M: Paolo Bonzini <[email protected]> R: Marc-André Lureau <[email protected]> -R: Daniel P. Berrange <[email protected]> +R: Daniel P. Berrangé <[email protected]> R: Pierrick Bouvier <[email protected]> S: Maintained F: meson.build
@@ -4781,7 +4781,7 @@ F: hw/*/Kconfig* F: target/*/Kconfig* GIT submodules -M: Daniel P. Berrange <[email protected]> +M: Daniel P. Berrangé <[email protected]> S: Odd Fixes F: scripts/git-submodule.sh
Signature · 1 line
2.47.3
[PULL 2/8] MAINTAINERS: make LIU's entries consistent
In reply to Alex BennéeAll the commits and s-o-b's use capitalised entries.
Message-ID: <[email protected]>
MAINTAINERS +1 -1
@@ -367,7 +367,7 @@ M: Palmer Dabbelt <[email protected]> M: Alistair Francis <[email protected]> R: Weiwei Li <[email protected]> R: Daniel Henrique Barboza <[email protected]> -R: Liu Zhiwei <[email protected]> +R: LIU Zhiwei <[email protected]> R: Chao Liu <[email protected]> L: [email protected] S: Supported
Signature · 1 line
2.47.3
[PULL 3/8] MAINTAINERS: use consistent capitalisation for Alistair
In reply to Alex BennéeThe last emails with capitalisation where in 2019, make it consistent. We can also tweak .mailmap so this sticks in history as well.
Message-ID: <[email protected]>
MAINTAINERS +5 -5
@@ -878,7 +878,7 @@ F: tests/functional/arm/test_canona1100.py F: docs/system/arm/digic.rst Goldfish RTC -M: Alistair Francis <[email protected]> +M: Alistair Francis <[email protected]> L: [email protected] S: Maintained F: hw/rtc/goldfish_rtc.c
@@ -1807,7 +1807,7 @@ F: tests/functional/ppc64/test_fadump.py RISC-V Machines --------------- OpenTitan -M: Alistair Francis <[email protected]> +M: Alistair Francis <[email protected]> L: [email protected] S: Supported F: hw/riscv/opentitan.c
@@ -1845,7 +1845,7 @@ F: include/hw/riscv/shakti_c.h F: include/hw/char/shakti_uart.h SiFive Machines -M: Alistair Francis <[email protected]> +M: Alistair Francis <[email protected]> M: Palmer Dabbelt <[email protected]> L: [email protected] S: Supported
@@ -4242,7 +4242,7 @@ F: hw/i386/amd_iommu* F: tests/qtest/amd-iommu-test.c OpenSBI Firmware -M: Alistair Francis <[email protected]> +M: Alistair Francis <[email protected]> R: Daniel Henrique Barboza <[email protected]> L: [email protected] S: Supported
@@ -4343,7 +4343,7 @@ F: tcg/ppc64/ RISC-V TCG target M: Palmer Dabbelt <[email protected]> -M: Alistair Francis <[email protected]> +M: Alistair Francis <[email protected]> R: Daniel Henrique Barboza <[email protected]> L: [email protected] S: Maintained
.mailmap +1 -0
@@ -80,6 +80,7 @@ Aleksandar Rikalo <[email protected]> <[email protected]> Aleksandar Rikalo <[email protected]> <[email protected]> Alex Williamson <[email protected]> <[email protected]> Alexander Graf <[email protected]> <[email protected]> +Alistair Francis <[email protected]> <[email protected]> Andrew Jones <[email protected]> <[email protected]> Andrew Jones <[email protected]> <[email protected]> Ani Sinha <[email protected]> <[email protected]>
Signature · 1 line
2.47.3
[PULL 6/8] tests/qtest: remove unused prctl/procctl headers
In reply to Alex BennéeFrom: Brad Smith <[email protected]>
Commit 6cbde91a2758 ("tests/qtest: use prctl(PR_SET_PDEATHSIG) as fallback to kill QEMU") added <sys/prctl.h> for PR_SET_PDEATHSIG on Linux, and commit 49e9f8644b03 ("qtest: kill orphaned qtest QEMU processes on FreeBSD") added <sys/procctl.h> for PROC_PDEATHSIG_CTL on FreeBSD. Those calls were later replaced by -run-with exit-with-parent=on, but the headers were left behind.
Remove them.
Message-ID: <[email protected]>
Message-ID: <[email protected]>
tests/qtest/libqtest.c +0 -6
@@ -21,12 +21,6 @@#include <sys/wait.h> #include <sys/un.h> #endif /* _WIN32 */ -#ifdef __linux__ -#include <sys/prctl.h> -#endif /* __linux__ */ -#ifdef __FreeBSD__ -#include <sys/procctl.h> -#endif /* __FreeBSD__ */ #include "libqtest.h" #include "libqmp.h"
Signature · 1 line
2.47.3
[PULL 7/8] accel/tcg: update stale comment for cpu_io_recompile
In reply to Alex Bennéesince 18a536f1f8d6 ("accel/tcg: Always require can_do_io") we always trigger a recompile when we detect i/o mid-block. Update the comment to reflect that.
Message-ID: <[email protected]>
accel/tcg/translate-all.c +4 -2
@@ -566,8 +566,10 @@ void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr)#ifndef CONFIG_USER_ONLY /* -* In deterministic execution mode, instructions doing device I/Os -* must be at the end of the TB. +* Instructions doing device I/Os must happen at the end +* of the TB as they can change system state affecting following +* instructions. When we detect mid-block IO we trigger a re-compile +* with the TB cflags. * * Called by softmmu_template.h, with iothread mutex not held. */
Signature · 1 line
2.47.3
[PULL 8/8] docs/virtio: add note about virtio-gpu acceleration
In reply to Alex Bennée3d acceleration has a bunch of issues and is considered hard to secure in our current setup. As we have dropped it from the virtualisation use case lets call that out in the docs.
Message-ID: <[email protected]>
docs/system/devices/virtio/virtio-gpu.rst +12 -0
@@ -29,6 +29,18 @@ host's GPU and for the best performance be able to reliably share GPU memory with the guest. Details of 3D acceleration requirements are described in a further sections. +.. warning:: + + As 3D acceleration by its very nature involves giving the guest + fairly complete access to a bus master processing unit in the host + GPU we consider this outside the virtualisation use case with + respect to security. You should only ever enable 3D acceleration + with trusted guests. There is still the option of off-loading 3D + acceleration to a separate process via :ref:`vhost_user_proto` + depending on what guarantees that process can make and how well + confined it can be if things go wrong. + + QEMU virtio-gpu variants ------------------------
docs/system/security.rst +5 -0
@@ -99,6 +99,11 @@ an issue as a normal bug. crashes / undesirable behaviour in QEMU will **not** be treated as security flaws, but should be fixed as hardening bugs. +* **virtio-gpu** with 3D acceleration. While VirtIO is generally + preferred for the virtualisation use case we make an exception for + 3D acceleration given the potentially large attack surface it + presents. You should only use 3D acceleration with trusted guests. + * **memory allocation bounds**. There are many ways in which a QEMU process can legitimately consume an amount of memory that is significantly larger than the assigned guest RAM. QEMU's worst
Signature · 1 line
2.47.3
[PULL 4/8] MAINTAINERS: update security reporting links
In reply to Alex BennéeWe've updated the online pages but we should make sure MAINTAINERS doesn't point people to the wrong place.
Message-ID: <[email protected]>
MAINTAINERS +1 -3
@@ -82,9 +82,7 @@ F: docs/glossary.rst Responsible Disclosure, Reporting Security Issues ------------------------------------------------- -W: https://wiki.qemu.org/SecurityProcess -M: Michael S. Tsirkin <[email protected]> -L: [email protected] +W: https://www.qemu.org/contribute/security-process/ Trivial patches ---------------
Signature · 1 line
2.47.3
Richard Henderson
AppliedQuoted 15 lines · Alex Bennée
The following changes since commit
9cda597a1a3903d090e8e55e23f5b8a859da88ab:Merge tag 'pbouvier/pr/fixes_11.2-20261127' ofhttps://gitlab.com/p-b-o/qemu into staging (2026-11-29 13:42:36 -0800)are available in the Git repository at:
https://gitlab.com/stsquad/qemu.git tags/pull-11.2-main-test-301126-1for you to fetch changes up to
1b8266408913722b6f257f19865993e178f73a1a:docs/virtio: add note about virtio-gpu acceleration (2026-11-30 11:38:37 +0000)----------------------------------------------------------------
testing and doc updates:
Quoted 6 lines
- clean-up
MAINTAINERSentries for consistency
- update the security link inMAINTAINERS
- fix-up immutable tuxboot URLs
- remove unused headers in libqtest
- update comment oncpu_io_recompile
- add note on security status of accelerated virtio-gpu
Applied, thanks.
r~