From: Alex Williamson Date: Fri, 21 Jun 2013 15:38:11 +0000 (-0600) Subject: vfio: Provide module option to disable vfio_iommu_type1 hugepage support X-Git-Tag: v3.11-rc1~46^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c6c2b21ecc9adfc47cfaf93404937b6ecd8395d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed