vfio: Provide module option to disable vfio_iommu_type1 hugepage support
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Jun 2013 15:38:11 +0000 (09:38 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Jun 2013 15:38:11 +0000 (09:38 -0600)
Add a module option to vfio_iommu_type1 to disable IOMMU hugepage
support.  This causes iommu_map to only be called with single page
mappings, disabling the IOMMU driver's ability to use hugepages.
This option can be enabled by loading vfio_iommu_type1 with
disable_hugepages=1 or dynamically through sysfs.  If enabled
dynamically, only new mappings are restricted.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

No differences found