* [PATCH] vfio: always select ANON_INODES
@ 2014-03-25 15:50 Arnd Bergmann
2014-03-27 18:20 ` Alex Williamson
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2014-03-25 15:50 UTC (permalink / raw)
To: Alex Williamson; +Cc: kvm, linux-kernel
The vfio code cannot be built when CONFIG_ANON_INODES is
disabled, so this enforces the symbol to be enabled through
Kconfig.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
index 26b3d9d..af7b204 100644
--- a/drivers/vfio/Kconfig
+++ b/drivers/vfio/Kconfig
@@ -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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] vfio: always select ANON_INODES
2014-03-25 15:50 [PATCH] vfio: always select ANON_INODES Arnd Bergmann
@ 2014-03-27 18:20 ` Alex Williamson
0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2014-03-27 18:20 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kvm, linux-kernel
On Tue, 2014-03-25 at 16:50 +0100, Arnd Bergmann wrote:
> The vfio code cannot be built when CONFIG_ANON_INODES is
> disabled, so this enforces the symbol to be enabled through
> Kconfig.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
> index 26b3d9d..af7b204 100644
> --- a/drivers/vfio/Kconfig
> +++ b/drivers/vfio/Kconfig
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-27 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25 15:50 [PATCH] vfio: always select ANON_INODES Arnd Bergmann
2014-03-27 18:20 ` Alex Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®