ced >= hw IOMMU number used by the VM.
Regards,
Yi Liu
On 2024/11/14 08:18, Nicolin Chen wrote:
On Tue, Nov 12, 2024 at 09:15:02PM +0800, Yi Liu wrote:
On 2024/11/6 04:04, Nicolin Chen wrote:
+5. IOMMUFD_OBJ_VIOMMU can be only manually created via the IOMMU_VIOMMU_ALLOC
+ uAPI, provided a dev_id (for the device's physical IOMMU to bac
e
+ iommufd core will link the vIOMMU object to the struct iommu_device that the
+ struct device is behind.
It looks to be reasonable to share the viommu_obj between devices behind
the same physical IOMMU. This design seems no enforcement for it. So it's
all up to userspace from what I got. :)
--
Regards,
Yi Liu