Re: [PATCH v2 01/11] iommu: Add new iommu op to create domains owned by userspace

Jason Gunthorpe
2023-06-06T14:09:08Z

On Wed, May 24, 2023 at 06:41:41PM -0700, Nicolin Chen wrote:

> Upon a quick check, I think we could. Though it'd be slightly
> mismatched with the domain_alloc op, it should be fine since
> iommufd is likely to be the only caller.

Ideally the main op would return ERR_PTR too

Jason