Skip to content

Commit

Permalink
vfio: Select iommufd
Browse files Browse the repository at this point in the history
vfio core calls iommufd symbol, needs to select explicitly. Currently
iommufd compat mode only available for vfio iommu type1, so if type1
selected, iommufd should also be selected.

Signed-off-by: Liu Yi L <yi.l.liu@intel.com>
  • Loading branch information
yiliu1765 committed Mar 4, 2022
1 parent 32bd602 commit a117b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/vfio/Kconfig
Expand Up @@ -2,6 +2,7 @@
menuconfig VFIO
tristate "VFIO Non-Privileged userspace driver framework"
select IOMMU_API
select IOMMUFD if MMU && (X86 || S390 || ARM || ARM64)
select VFIO_IOMMU_TYPE1 if MMU && (X86 || S390 || ARM || ARM64)
help
VFIO provides a framework for secure userspace device drivers.
Expand Down

0 comments on commit a117b00

Please sign in to comment.