All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] docs/virtio: add note about virtio-gpu acceleration
@ 2026-11-25 11:51 Alex Bennée
  2026-11-25 11:55 ` Marc-André Lureau
  2026-11-25 12:03 ` Daniel P. Berrangé
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Bennée @ 2026-11-25 11:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: berrange, Alex Bennée, Akihiko Odaki, Dmitry Osipenko,
	Pierrick Bouvier

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.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 docs/system/devices/virtio/virtio-gpu.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/system/devices/virtio/virtio-gpu.rst b/docs/system/devices/virtio/virtio-gpu.rst
index d05f8cb8e3f..06e60ec6782 100644
--- a/docs/system/devices/virtio/virtio-gpu.rst
+++ b/docs/system/devices/virtio/virtio-gpu.rst
@@ -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
 ------------------------
 
-- 
2.47.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-25 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 11:51 [RFC PATCH] docs/virtio: add note about virtio-gpu acceleration Alex Bennée
2026-11-25 11:55 ` Marc-André Lureau
2026-11-25 12:03 ` Daniel P. Berrangé
2026-11-25 12:37   ` Alex Bennée
2026-11-25 12:45     ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.