vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Sep 2021 15:56:59 +0000 (17:56 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 30 Sep 2021 18:46:44 +0000 (12:46 -0600)
commit8cc02d22d7e1596ed687c4ff967c32056c2bef3e
treefda8354e88df5ef4d98dc7092d074838e1b5de25
parent67462037872d5ca57dc4674cccff191947b9b43e
vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>

Create a new private drivers/vfio/vfio.h header for the interface between
the VFIO core and the iommu drivers.

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-10-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c
drivers/vfio/vfio.h [new file with mode: 0644]
drivers/vfio/vfio_iommu_spapr_tce.c
drivers/vfio/vfio_iommu_type1.c
include/linux/vfio.h