Skip to contentSkip to conversation

for-11.2: testing, MAINTAINERS and doc fixes (pre-PR)

PATCH In review Alex Bennée 2 participants 11 messages Nov 26 RISC-V

lore
Share & tools
lore
#0 lore raw

cover for-11.2: testing, MAINTAINERS and doc fixes (pre-PR)

Just collecting up some bits and pieces to slide into 11.2. Most are already reviewed but there is a v2 for the virtio doc and the cpu_io_recompile comment can be dropped if no one looks at it.

Alex.

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
#1 lore raw

PATCH 1/8 MAINTAINERS: update Daniel's entries to be consistent

When 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 | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
MAINTAINERS +14 -14
index 9e001a85ee3..8c5a40a6929 100644
@@ -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
Tested-by on v1 1/8
#2 lore raw

Re: [PATCH 1/8] MAINTAINERS: update Daniel's entries to be consistent

Quoted 12 lines · Alex Bennée

When 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 ;-)

Quoted 6 lines

Message-ID: <[email protected]>

---
  MAINTAINERS | 28 ++++++++++++++--------------
  1 file changed, 14 insertions(+), 14 deletions(-)
#3 lore raw

PATCH 2/8 MAINTAINERS: make LIU's entries consistent

In reply to Alex Bennée

All the commits and s-o-b's use capitalised entries.

Message-ID: <[email protected]>

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 8c5a40a6929..048ea6a5034 100644
@@ -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
#4 lore raw

PATCH 3/8 MAINTAINERS: use consistent capitalisation for Alistair

In reply to Alex Bennée

The 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 | 10 +++++-----
 .mailmap    |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)
MAINTAINERS +5 -5
index 048ea6a5034..cf701b11cf1 100644
@@ -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
index bd8bf07feb7..c44990fd3d6 100644
@@ -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
#5 lore raw

PATCH 4/8 MAINTAINERS: update security reporting links

In reply to Alex Bennée

We've updated the online pages but we should make sure MAINTAINERS doesn't point people to the wrong place.

Message-ID: <[email protected]>

---
 MAINTAINERS | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
MAINTAINERS +1 -3
index cf701b11cf1..ad9dfc43898 100644
@@ -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
#6 lore raw

PATCH 5/8 tests/functional: use immutable tuxboot kernel URLs

In reply to Alex Bennée

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.

Fixes 8ac1aab21fca ("tests/functional: update arm64 tuxrun images")
Fixes 09961fafc5a0 ("tests/functional: update s390x tuxrun images")
Fixes 467c9eb7dd31 ("tests/functional: update x86_64 tuxrun images")

Message-ID: <[email protected]>

---
 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 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)
tests/functional/aarch64/test_tuxrun.py +2 -2
index 2ff321582d3..035984d8e3e 100755
@@ -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
index 6a7e2a5d196..fdc83d7c828 100755
@@ -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
index 48abd5cd27c..7cd5234432d 100755
@@ -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
index 6203a45060c..b470c05300a 100755
@@ -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
index 1dd662aaaf0..420e7146bb1 100755
@@ -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
index 1a1138d16ae..d2e6008ae70 100755
@@ -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
#7 lore raw

PATCH 6/8 tests/qtest: remove unused prctl/procctl headers

In reply to Alex Bennée

From: 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]>

---
 tests/qtest/libqtest.c | 6 ------
 1 file changed, 6 deletions(-)
tests/qtest/libqtest.c +0 -6
index 7f66c1bbb3b..f39a39b85c7 100644
@@ -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
#8 lore raw

PATCH 7/8 accel/tcg: update stale comment for cpu_io_recompile

In reply to Alex Bennée

since 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.

Fixes 18a536f1f8d6 ("accel/tcg: Always require can_do_io")
---
 accel/tcg/translate-all.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
accel/tcg/translate-all.c +4 -2
index ea8257935ed..59991339620 100644
@@ -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 cflags
  *
  * Called by softmmu_template.h, with iothread mutex not held.
  */
Signature · 1 line
2.47.3
Reviewed-by on v1 7/8
#9 lore raw

Re: [PATCH 7/8] accel/tcg: update stale comment for cpu_io_recompile

Quoted 15 lines · Alex Bennée

since 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.

Fixes 18a536f1f8d6 ("accel/tcg: Always require can_do_io")
---
  accel/tcg/translate-all.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
accel/tcg/translate-all.c +0 -0
index ea8257935ed..59991339620 100644

accel/tcg/translate-all.c void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr) · line 572

Quoted 9 lines
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 cflags

"with the TB cflags."

Quoted 3 lines
accel/tcg/translate-all.c +0 -0
   *
   * Called by softmmu_template.h, with iothread mutex not held.
   */
#10 lore raw

PATCH 8/8 docs/virtio: add note about virtio-gpu acceleration

In reply to Alex Bennée

3d 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.

---
v2
- also mention in security.rst

---
 docs/system/devices/virtio/virtio-gpu.rst | 12 ++++++++++++
 docs/system/security.rst                  |  5 +++++
 2 files changed, 17 insertions(+)
docs/system/devices/virtio/virtio-gpu.rst +12 -0
index d05f8cb8e3f..06e60ec6782 100644
@@ -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
index c0254fef113..322ef003536 100644
@@ -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