qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] vhost-user-gpu: Add support for blob resources
@ 2024-07-18 12:12 Matej Hrica
  2024-07-18 12:12 ` [RFC PATCH 1/2] vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flags Matej Hrica
  2024-07-18 12:12 ` [RFC PATCH 2/2] vhost-user-gpu: Add shared memory region support Matej Hrica
  0 siblings, 2 replies; 3+ messages in thread
From: Matej Hrica @ 2024-07-18 12:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: marcandre.lureau, dbassey, aesteve, slp, Matej Hrica

Hi,
these patches enable a backend vhost user gpu implementation to support blob
resources.
The first patch simply forwards required feature flags. The second patch
registers a shared memory region for mapping the blob resources in the guest
memory.

I am not sure about the shared memory region creation in the second patch.
Is it fine to rely on the parent object to create the shared memory region?
The parent object should be either virtio-gpu-pci or virtio-vga, though I am
not really sure about the class hierarchy.

These patches are based on this RFC: 
[RFC PATCH v2 0/5] vhost-user: Add SHMEM_MAP/UNMAP requests.

Since this relies on an RFC patch, I am also sending this as an RFC too.

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 | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

-- 
2.45.2



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

end of thread, other threads:[~2024-07-18 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-18 12:12 [RFC PATCH 0/2] vhost-user-gpu: Add support for blob resources Matej Hrica
2024-07-18 12:12 ` [RFC PATCH 1/2] vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flags Matej Hrica
2024-07-18 12:12 ` [RFC PATCH 2/2] vhost-user-gpu: Add shared memory region support Matej Hrica

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).