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