Skip to contentSkip to conversation

vfio: always select ANON_INODES

PATCH Applied Arnd Bergmann 2 participants 2 messages Mar 25, 2014 – Mar 27, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio: always select ANON_INODES

The vfio code cannot be built when CONFIG_ANON_INODES is disabled, so this enforces the symbol to be enabled through Kconfig.

drivers/vfio/Kconfig +1 -0
index 26b3d9d..af7b204 100644
@@ -13,6 +13,7 @@ menuconfig VFIO
 	depends on IOMMU_API
 	select VFIO_IOMMU_TYPE1 if X86
 	select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
+	select ANON_INODES
 	help
 	  VFIO provides a framework for secure userspace device drivers.
 	  See Documentation/vfio.txt for more details.
#1 lore raw
Quoted 12 lines · Arnd Bergmann

The vfio code cannot be built when CONFIG_ANON_INODES is disabled, so this enforces the symbol to be enabled through Kconfig.

drivers/vfio/Kconfig +0 -0
index 26b3d9d..af7b204 100644

drivers/vfio/Kconfig menuconfig VFIO · line 19

Quoted 7 lines
drivers/vfio/Kconfig +1 -0
@@ -13,6 +13,7 @@ menuconfig VFIO
 	depends on IOMMU_API
 	select VFIO_IOMMU_TYPE1 if X86
 	select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
+	select ANON_INODES
 	help
 	  VFIO provides a framework for secure userspace device drivers.
 	  See Documentation/vfio.txt for more details.

Applied, thanks!

Alex