vfio/iommu_type1: remove the "external" domain
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Sep 2021 15:57:04 +0000 (17:57 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 30 Sep 2021 18:46:45 +0000 (12:46 -0600)
commit296e505baddf92ed73f6ca2ddbb426357bb5abc4
tree55f2bb41ecd5e96a1b0cd101e06e264355346991
parent65cdbf10633783647c45eb22f0e70f193fee3789
vfio/iommu_type1: remove the "external" domain

The external_domain concept rather misleading and not actually needed.
Replace it with a list of emulated groups in struct vfio_iommu.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-15-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c