All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] vhost-user-gpu: Add blob resource and shared memory support
@ 2026-07-17 10:32 Dorinda Bassey
  2026-07-17 10:32 ` [PATCH v3 1/3] vhost: Fix SHMEM_MAP transaction ordering and resulting deadlock Dorinda Bassey
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Dorinda Bassey @ 2026-07-17 10:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: mhrica, mst, sgarzare, manos.pitsidianakis, marcandre.lureau,
	stefanha, pbonzini, aesteve, Dorinda Bassey

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.

Patch 1 fixes a deadlock that occurs when the memory region
transaction commit triggers ADD_MEM_REG back to the backend while
it is still blocked waiting for the SHMEM_MAP reply.

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

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

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

 hw/display/vhost-user-gpu.c | 17 +++++++++++++++++
 hw/virtio/vhost-user.c      | 20 ++------------------
 hw/virtio/vhost.c           | 10 ++++++++++
 3 files changed, 29 insertions(+), 18 deletions(-)

Changes in v3:
- Reordered patches: bugfix first, then features
- Added Fixes tag

Changes in v2:
- Reordered patches: shmem support before feature flags
- Use virtio_new_shmem_region() helper
- Drop explicit transaction begin/commit wrapping

--
2.52.0



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

end of thread, other threads:[~2026-07-17 13:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17 10:32 [PATCH v3 0/3] vhost-user-gpu: Add blob resource and shared memory support Dorinda Bassey
2026-07-17 10:32 ` [PATCH v3 1/3] vhost: Fix SHMEM_MAP transaction ordering and resulting deadlock Dorinda Bassey
2026-07-17 10:37   ` Michael S. Tsirkin
2026-07-17 11:50     ` Albert Esteve
2026-07-17 12:33       ` Dorinda Bassey
2026-07-17 12:58       ` Michael S. Tsirkin
2026-07-17 13:11         ` Albert Esteve
2026-07-17 13:25           ` Dorinda Bassey
2026-07-17 13:28           ` Michael S. Tsirkin
2026-07-17 11:37   ` Albert Esteve
2026-07-17 10:33 ` [PATCH v3 2/3] vhost-user-gpu: Add shared memory region support Dorinda Bassey
2026-07-17 11:38   ` Albert Esteve
2026-07-17 10:33 ` [PATCH v3 3/3] vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flags Dorinda Bassey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.