qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 0/2] vhost-user-gpu: Add support for blob resources


From: Matej Hrica
Subject: [RFC PATCH 0/2] vhost-user-gpu: Add support for blob resources
Date: Thu, 18 Jul 2024 14:12:45 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]