Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH] vfio: Depend on EVENTFD
@ 2015-03-17 14:42 Alex Williamson
  0 siblings, 0 replies; only message in thread
From: Alex Williamson @ 2015-03-17 14:42 UTC (permalink / raw)
  To: kvm; +Cc: a.motakis, b.reynal, linux-kernel, eric.auger

Since commit 42ac9bd18d4f ("vfio: initialize the virqfd workqueue in
VFIO generic code"), vfio itself depends on EVENTFD support.  Add this
to Kconfig to enforce the dependency.  This could perhaps become a
soft dependency if there was sufficient interest to make it more
modular, but eventfds are currently an integral part of vfio interrupt
delivery for all vfio bus drivers.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
 drivers/vfio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
index d5322a4..db9bbb7 100644
--- a/drivers/vfio/Kconfig
+++ b/drivers/vfio/Kconfig
@@ -15,7 +15,7 @@ config VFIO_SPAPR_EEH
 
 menuconfig VFIO
 	tristate "VFIO Non-Privileged userspace driver framework"
-	depends on IOMMU_API
+	depends on IOMMU_API && EVENTFD
 	select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU)
 	select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
 	select VFIO_SPAPR_EEH if (PPC_POWERNV || PPC_PSERIES)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-17 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 14:42 [PATCH] vfio: Depend on EVENTFD Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox