On Thu, Feb 02, 2023 at 05:34:15AM +0000, Liu, Yi L wrote: > This seems to be ok. The group path will attach the group to an auto-allocated > iommu_domain, while the cdev path actually waits for userspace to > attach it to an IOAS. Userspace should take care of it. It should ensure > the devices in the same group should be attached to the same domain. Aren't there problems when someone closes the group or device FD while the other one is still open though? Jason