mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
ACRN:DM: Export BLOB feature to guest
The DMABuf sharing is based on the BLOB feature. This will check the attribute of system memory for guest_vm and udmabuf.list_limit parameter. If it meets with the requirement, export the BLOB feature so that the FE driver in guest_vm can send the blob cmd. VIRTIO_GPU_CMD_CREATE_BLOB: VIRTIO_GPU_CMD_SET_SCANOUT_BLOB: VIRTIO_GPU_CMD_SET_FLUSH(BLOB) Tracked-On: #7210 Acked-by: Wang Yu <yu1.wang@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
@@ -95,6 +95,7 @@ struct vm_mem_region {
|
||||
};
|
||||
bool vm_find_memfd_region(struct vmctx *ctx, vm_paddr_t gpa,
|
||||
struct vm_mem_region *ret_region);
|
||||
bool vm_allow_dmabuf(struct vmctx *ctx);
|
||||
/*
|
||||
* Create a device memory segment identified by 'segid'.
|
||||
*
|
||||
|
Reference in New Issue
Block a user