Re: [PATCH v2 02/19] iommufd/viommu: Add IOMMUFD_OBJ_VIOMMU and IOMMU_VIOMMU_ALLOC ioctl
From: Jason Gunthorpe
Date: Sun Sep 15 2024 - 17:10:30 EST
On Wed, Sep 11, 2024 at 08:39:57PM -0700, Nicolin Chen wrote:
> You mentioned that actually only the iommufd selftest might hit such
> a corner case, so perhaps we should do something in the selftest code
> v.s. the iommu core. What do you think?
Maybe, if there were viommu allocation callbacks maybe those can pin
the memory in the selftest..
Jason