From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org,
Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>,
Dmitry Osipenko <dmitry.osipenko@collabora.com>,
Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Subject: Re: [RFC PATCH] docs/virtio: add note about virtio-gpu acceleration
Date: Wed, 25 Nov 2026 12:45:13 +0000 [thread overview]
Message-ID: <awbYWaTAFcjrfpFS@redhat.com> (raw)
In-Reply-To: <87bj7dulwx.fsf@draig.linaro.org>
On Wed, Nov 25, 2026 at 12:37:34PM +0000, Alex Bennée wrote:
> Daniel P. Berrangé <berrange@redhat.com> writes:
>
> > On Wed, Nov 25, 2026 at 11:51:04AM +0000, Alex Bennée wrote:
> >> 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.
> >
> > Perhaps ought to be referenced in security.rst too, as an unusual
> > part of virtio that is NOT within the security boundary.
>
> Hmm where would be a good case? The only virtio we reference is the
> s390-ccw-virtio machine type. We talk about the process but don't
> mention specific devices.
Just in the list of items under "security boundary scope", could
have a sentence that links to this warning in virtio-gpu
https://www.qemu.org/docs/master/system/security.html#security-boundary-scope
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
prev parent reply other threads:[~2026-11-25 12:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awbYWaTAFcjrfpFS@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=dmitry.osipenko@collabora.com \
--cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.