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