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)
commit5c6c2b21ecc9adfc47cfaf93404937b6ecd8395d
treee1ca8d286dcb07f99113924c90188000c01b1ad4
parent166fd7d94afdac040b28c473e45241820ca522a2
vfio: Provide module option to disable vfio_iommu_type1 hugepage support

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>
drivers/vfio/vfio_iommu_type1.c
This page took 0.02712 seconds and 5 git commands to generate.