Skip to content

Virtio dmabuf improvements

Albert Esteve qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 9 repliesIn review
  2. v33 patches 9 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches7 repliesSuperseded

Changes in v4 from the cover letter

- Changed GMutex by QemuMutex in virtio-dmabuf
- Made the value at VirtioSharedObject an union
to make naming more clear
- Added some documentation

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/virtio: check owner for removing objectsdocs/interop/vhost-user.rst hw/virtio/vhost-user.c+22 -30 replies
2/5hw/virtio: document SharedObject structureshw/display/virtio-dmabuf.c include/hw/virtio/virtio-dmabuf.h+28 -52 replies
3/5hw/virtio: change dmabuf mutex to QemuMutexhw/display/virtio-dmabuf.c hw/virtio/virtio.c include/hw/virtio/virtio-dmabuf.h +1 more+43 -253 replies
4/5hw/virtio: cleanup shared resourceshw/display/virtio-dmabuf.c hw/virtio/vhost.c include/hw/virtio/virtio-dmabuf.h +1 more+67 -02 replies
5/5hw/virtio: rename virtio dmabuf APIhw/display/virtio-dmabuf.c hw/virtio/vhost-user.c include/hw/virtio/virtio-dmabuf.h +1 more+60 -590 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchStefan HajnocziPhilippe Mathieu-DaudéManos Pitsidianakis
1/5A-b
2/5
3/5
4/5A-b R-b
5/5A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] Virtio dmabuf improvements

v1: https://www.mail-archive.com/[email protected]/msg1005257.html
v2: https://www.mail-archive.com/[email protected]/msg1014615.html
v3: Virtio dmabuf improvements
v3 -> v4
- Changed GMutex by QemuMutex in virtio-dmabuf
- Made the value at VirtioSharedObject an union
to make naming more clear
- Added some documentation

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 (5):
hw/virtio: check owner for removing objects
hw/virtio: document SharedObject structures
hw/virtio: change dmabuf mutex to QemuMutex
hw/virtio: cleanup shared resources
hw/virtio: rename virtio dmabuf API

 docs/interop/vhost-user.rst       |  4 +-
 hw/display/virtio-dmabuf.c        | 98 +++++++++++++++++++------------
 hw/virtio/vhost-user.c            | 31 +++++++---
 hw/virtio/vhost.c                 |  3 +
 hw/virtio/virtio.c                |  3 +
 include/hw/virtio/virtio-dmabuf.h | 73 +++++++++++++++++------
 tests/unit/test-virtio-dmabuf.c   | 82 +++++++++++++++++++-------
 7 files changed, 211 insertions(+), 83 deletions(-)
Signature · 1 line
2.43.1