From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
belmouss@redhat.com, "Daniel P. Berrangé" <berrange@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Laurent Vivier" <lvivier@redhat.com>
Subject: Re: [PATCH v2 00/19] UI-related fixes & shareable 2d memory with -display dbus
Date: Sat, 12 Oct 2024 16:00:02 +0900 [thread overview]
Message-ID: <602b3bbd-06b8-4ac5-a250-7113d83923da@daynix.com> (raw)
In-Reply-To: <20241008125028.1177932-1-marcandre.lureau@redhat.com>
On 2024/10/08 21:50, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Hi,
>
> This series adds Listener.Unix.Map interface to -display dbus, to allow shared
> memory for the display (similar to Listener.Win32.Map interface).
>
> While working on it, I collected a few fixes. I can re-send them in a different
> series or queue them once they are reviewed.
>
> thanks
>
> v2 (after Akhiko Odaki review):
> - rebased
> - introduce qemu_pixman_shareable, to reduce #ifdef usage
> - fixed bad mmap testing
> - fixed mingw cross-compilation
>
> Marc-André Lureau (19):
> hw/audio/hda: free timer on exit
> hw/audio/hda: fix memory leak on audio setup
> ui/dbus: fix leak on message filtering
> ui/win32: fix potential use-after-free with dbus shared memory
> ui/dbus: fix filtering all update messages
> ui/dbus: discard display messages on disable
> ui/dbus: discard pending CursorDefine on new one
> util/memfd: report potential errors on free
> ui/pixman: generalize shared_image_destroy
> ui/dbus: do not limit to one listener per connection / bus name
> ui/dbus: add trace for can_share_map
> ui/surface: allocate shared memory on !win32
> meson: find_program('gdbus-codegen') directly
> ui/dbus: make Listener.Win32.Map win32-specific
> ui/dbus: add Listener.Unix.Map interface XML
> ui/dbus: implement Unix.Map
> virtio-gpu: allocate shareable 2d resources on !win32
> ui: refactor using a common qemu_pixman_shareable
> tests: add basic -display dbus Map.Unix test
>
> meson.build | 2 +-
> include/hw/virtio/virtio-gpu.h | 4 +-
> include/ui/qemu-pixman.h | 24 +++++
> include/ui/surface.h | 14 ++-
> hw/audio/hda-codec.c | 33 ++++---
> hw/display/virtio-gpu.c | 69 ++++----------
> tests/qtest/dbus-display-test.c | 72 ++++++++++++++-
> ui/console.c | 78 ++++++----------
> ui/dbus-console.c | 23 +----
> ui/dbus-listener.c | 159 ++++++++++++++++++++++++++++----
> ui/qemu-pixman.c | 71 ++++++++++++++
> util/memfd.c | 9 +-
> ui/dbus-display1.xml | 49 ++++++++++
> ui/trace-events | 1 +
> 14 files changed, 440 insertions(+), 168 deletions(-)
>
For the whole series:
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
next prev parent reply other threads:[~2024-10-12 7:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 12:50 [PATCH v2 00/19] UI-related fixes & shareable 2d memory with -display dbus marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 01/19] hw/audio/hda: free timer on exit marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 02/19] hw/audio/hda: fix memory leak on audio setup marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 03/19] ui/dbus: fix leak on message filtering marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 04/19] ui/win32: fix potential use-after-free with dbus shared memory marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 05/19] ui/dbus: fix filtering all update messages marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 06/19] ui/dbus: discard display messages on disable marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 07/19] ui/dbus: discard pending CursorDefine on new one marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 08/19] util/memfd: report potential errors on free marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 09/19] ui/pixman: generalize shared_image_destroy marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 10/19] ui/dbus: do not limit to one listener per connection / bus name marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 11/19] ui/dbus: add trace for can_share_map marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 12/19] ui/surface: allocate shared memory on !win32 marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 13/19] meson: find_program('gdbus-codegen') directly marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 14/19] ui/dbus: make Listener.Win32.Map win32-specific marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 15/19] ui/dbus: add Listener.Unix.Map interface XML marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 16/19] ui/dbus: implement Unix.Map marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 17/19] virtio-gpu: allocate shareable 2d resources on !win32 marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 18/19] ui: refactor using a common qemu_pixman_shareable marcandre.lureau
2024-10-08 12:50 ` [PATCH v2 19/19] tests: add basic -display dbus Map.Unix test marcandre.lureau
2024-10-12 7:00 ` Akihiko Odaki [this message]
2024-10-15 17:36 ` [PATCH v2 00/19] UI-related fixes & shareable 2d memory with -display dbus Michael Tokarev
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=602b3bbd-06b8-4ac5-a250-7113d83923da@daynix.com \
--to=akihiko.odaki@daynix.com \
--cc=belmouss@redhat.com \
--cc=berrange@redhat.com \
--cc=kraxel@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).