vfio: Use select for eventfd
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Aug 2021 10:39:10 +0000 (13:39 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 26 Aug 2021 16:36:51 +0000 (10:36 -0600)
commitca4ddaac7fa710a250bbd650cc719425bec973a0
treeab57ceb78e27ef89625b6776b2ed12abe91e8816
parentcc6711b0bf36de068b10490198d05ac168377989
vfio: Use select for eventfd

If VFIO_VIRQFD is required then turn on eventfd automatically.
The majority of kconfig users of the EVENTFD use select not depends on.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20210826103912.128972-12-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Kconfig
drivers/vfio/fsl-mc/Kconfig
drivers/vfio/pci/Kconfig
drivers/vfio/platform/Kconfig