RE: [PATCH v1 07/16] iommufd/viommu: Add driver-allocated vDEVICE support

Tian, Kevin
2025-04-21T08:01:04Z

> From: Nicolin Chen <nicolinc@nvidia.com>
> Sent: Friday, April 11, 2025 2:38 PM
>
> @@ -128,6 +142,9 @@ struct iommufd_viommu_ops {
> const struct iommu_user_data *user_data);
> int (*cache_invalidate)(struct iommufd_viommu *viommu,
> struct iommu_user_data_array *array);
> + struct iommufd_vdevice *(*vdevice_alloc)(struct iommufd_viommu
> *viommu,
> + struct device *dev, u64 id);

s/id/virt_id/ would be clearer.