qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/19] UI-related fixes & shareable 2d memory with -display dbus
@ 2024-10-08 12:50 marcandre.lureau
  2024-10-08 12:50 ` [PATCH v2 01/19] hw/audio/hda: free timer on exit marcandre.lureau
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: marcandre.lureau @ 2024-10-08 12:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Akihiko Odaki, Philippe Mathieu-Daudé,
	Marc-André Lureau, Michael S. Tsirkin, belmouss,
	Daniel P. Berrangé, Thomas Huth, Paolo Bonzini,
	Gerd Hoffmann, Laurent Vivier

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(-)

-- 
2.47.0



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

end of thread, other threads:[~2024-10-15 17:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v2 00/19] UI-related fixes & shareable 2d memory with -display dbus Akihiko Odaki
2024-10-15 17:36 ` Michael Tokarev

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