Messages in this thread | | | Date | Fri, 13 Jan 2023 11:33:49 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 1/4] iommu/amd: Introduce Protection-domain flag VFIO |
| |
On Tue, Jan 10, 2023 at 08:31:34AM -0600, Suravee Suthikulpanit wrote: > Currently, to detect if a domain is enabled with VFIO support, the driver > checks if the domain has devices attached and check if the domain type is > IOMMU_DOMAIN_UNMANAGED.
NAK
If you need weird HW specific stuff like this then please implement it properly in iommufd, not try and randomly guess what things need from the domain type.
All this confidential computing stuff needs a comprehensive solution, not some piecemeal mess. How can you even use a CC guest with VFIO in the upstream kernel? Hmm?
Jason
| |