From: dongwon.kim@intel.com
To: qemu-devel@nongnu.org
Cc: marcandre.lureau@redhat.com
Subject: [PATCH v6 0/3] ui/console: Private QemuDmaBuf struct
Date: Tue, 16 Apr 2024 21:09:51 -0700 [thread overview]
Message-ID: <20240417040954.55641-1-dongwon.kim@intel.com> (raw)
From: Dongwon Kim <dongwon.kim@intel.com>
This series introduces privacy enhancements to the QemuDmaBuf struct
and its contained data to bolster security. it accomplishes this by
introducing of helper functions for allocating, deallocating, and
accessing individual fields within the struct and replacing all direct
references to individual fields in the struct with methods using helpers
throughout the codebase.
This change was made based on a suggestion from Marc-André Lureau
<marcandre.lureau@redhat.com>
(Resumitting same patch series with this new cover-leter)
v6: fixed some typos in patch -
ui/console: Introduce dpy_gl_qemu_dmabuf_get_..() helpers)
Dongwon Kim (3):
ui/console: Introduce dpy_gl_qemu_dmabuf_get_..() helpers
ui/console: Introduce dpy_gl_qemu_dmabuf_set_..() helpers
ui/console: Introduce dpy_gl_qemu_dmabuf_new() and free() helpers
include/hw/vfio/vfio-common.h | 2 +-
include/hw/virtio/virtio-gpu.h | 4 +-
include/ui/console.h | 28 +++++
hw/display/vhost-user-gpu.c | 32 +++---
hw/display/virtio-gpu-udmabuf.c | 27 ++---
hw/vfio/display.c | 35 ++++---
ui/console.c | 180 +++++++++++++++++++++++++++++++-
ui/dbus-console.c | 9 +-
ui/dbus-listener.c | 71 +++++++------
ui/egl-headless.c | 23 ++--
ui/egl-helpers.c | 59 ++++++-----
ui/gtk-egl.c | 52 +++++----
ui/gtk-gl-area.c | 41 +++++---
ui/gtk.c | 8 +-
ui/spice-display.c | 50 +++++----
15 files changed, 449 insertions(+), 172 deletions(-)
--
2.34.1
next reply other threads:[~2024-04-17 4:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 4:09 dongwon.kim [this message]
2024-04-17 4:09 ` [PATCH v6 1/3] ui/console: Introduce dpy_gl_qemu_dmabuf_get_..() helpers dongwon.kim
2024-04-17 10:55 ` Marc-André Lureau
2024-04-17 11:04 ` Daniel P. Berrangé
2024-04-17 17:06 ` Kim, Dongwon
2024-04-17 18:16 ` Marc-André Lureau
2024-04-17 4:09 ` [PATCH v6 2/3] ui/console: Introduce dpy_gl_qemu_dmabuf_set_..() helpers dongwon.kim
2024-04-17 4:09 ` [PATCH v6 3/3] ui/console: Introduce dpy_gl_qemu_dmabuf_new() and free() helpers dongwon.kim
2024-04-17 11:09 ` Daniel P. Berrangé
2024-04-17 11:15 ` Marc-André Lureau
2024-04-17 11:15 ` [PATCH v6 0/3] ui/console: Private QemuDmaBuf struct Daniel P. Berrangé
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=20240417040954.55641-1-dongwon.kim@intel.com \
--to=dongwon.kim@intel.com \
--cc=marcandre.lureau@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).