qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Virtio dmabuf improvements
@ 2023-11-07  9:37 Albert Esteve
  2023-11-07  9:37 ` [PATCH 1/3] hw/virtio: check owner for removing objects Albert Esteve
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Albert Esteve @ 2023-11-07  9:37 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, kraxel, stefanha, Albert Esteve,
	marcandre.lureau

Various improvements for the virtio-dmabuf module.
This patch includes:

- Check for ownership before allowing a vhost device
  to remove an object from the table.
- Properly cleanup shared resources if a vhost device
  object gets cleaned up.
- Rename virtio dmabuf functions to `virtio_dmabuf_*`

Albert Esteve (3):
  hw/virtio: check owner for removing objects
  hw/virtio: cleanup shared resources
  hw/virtio: rename virtio dmabuf API

 hw/display/virtio-dmabuf.c        | 14 +++++-----
 hw/virtio/vhost-user.c            | 33 ++++++++++++++++++-----
 hw/virtio/vhost.c                 |  5 ++++
 include/hw/virtio/vhost.h         |  6 +++++
 include/hw/virtio/virtio-dmabuf.h | 33 ++++++++++++-----------
 tests/unit/test-virtio-dmabuf.c   | 44 +++++++++++++++----------------
 6 files changed, 83 insertions(+), 52 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2023-12-07  9:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-07  9:37 [PATCH 0/3] Virtio dmabuf improvements Albert Esteve
2023-11-07  9:37 ` [PATCH 1/3] hw/virtio: check owner for removing objects Albert Esteve
2023-12-04  7:54   ` Marc-André Lureau
2023-12-07  9:14     ` Albert Esteve
2023-11-07  9:37 ` [PATCH 2/3] hw/virtio: cleanup shared resources Albert Esteve
2023-12-04  8:00   ` Marc-André Lureau
2023-12-07  9:18     ` Albert Esteve
2023-11-07  9:37 ` [PATCH 3/3] hw/virtio: rename virtio dmabuf API Albert Esteve
2023-11-30 15:49 ` [PATCH 0/3] Virtio dmabuf improvements Albert Esteve
2023-12-04  8:49   ` Michael S. Tsirkin
2023-12-04  9:15     ` Albert Esteve

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