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

From: Jason Gunthorpe
Date: Tue Jun 06 2023 - 10:09:13 EST


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