[PATCH 0/3] vhost-user-gpu: Add blob resource and shared memory support

Dorinda Bassey posted 3 patches 1 week, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260716132359.96785-1-dbassey@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>
There is a newer version of this series
hw/display/vhost-user-gpu.c | 22 ++++++++++++++++++++++
hw/virtio/vhost-user.c      |  6 +++---
hw/virtio/vhost.c           | 10 ++++++++++
3 files changed, 35 insertions(+), 3 deletions(-)
[PATCH 0/3] vhost-user-gpu: Add blob resource and shared memory support
Posted by Dorinda Bassey 1 week, 2 days ago
Add blob resource support to the vhost-user-gpu device, enabling
Vulkan pass-through via Venus with a vhost-user backend such as
vhost-device-gpu.

Patches 1-2 forward the RESOURCE_BLOB and CONTEXT_INIT feature
flags from the backend to the guest and register a shared memory
region for SHMEM_MAP/UNMAP operations.

Patch 3 fixes a deadlock that occurs when the memory region
transaction commit (needed so the KVM slot exists before the
guest accesses the mapped region) triggers ADD_MEM_REG back to
the backend while it is still blocked waiting for the SHMEM_MAP
reply.

Dorinda Bassey (1):
  vhost: Fix SHMEM_MAP transaction ordering and resulting deadlock

Matej Hrica (2):
  vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flags
  vhost-user-gpu: Add shared memory region support

 hw/display/vhost-user-gpu.c | 22 ++++++++++++++++++++++
 hw/virtio/vhost-user.c      |  6 +++---
 hw/virtio/vhost.c           | 10 ++++++++++
 3 files changed, 35 insertions(+), 3 deletions(-)

-- 
2.52.0