Thread (31 messages) 31 messages, 5 authors, 2021-08-26

Re: [PATCH V4 11/13] vfio: Use select for eventfd

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-08-26 09:08:17
Also in: kvm, linux-kbuild, linux-pci, linux-s390

On Wed, Aug 25, 2021 at 04:51:37PM +0300, Yishai Hadas wrote:
From: Jason Gunthorpe <jgg@nvidia.com>

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>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
 config VFIO_VIRQFD
 	tristate
-	depends on VFIO && EVENTFD
+	depends on VFIO
+	select EVENTFD
 	default n
Nit: the 'default n' is not actually needed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help