[PATCH trivial 6/7] meson.build: do not check for epoll.h (CONFIG_EPOLL)

Michael Tokarev posted 7 patches 3 weeks, 6 days ago
Maintainers: Laurent Vivier <laurent@vivier.eu>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>
There is a newer version of this series
[PATCH trivial 6/7] meson.build: do not check for epoll.h (CONFIG_EPOLL)
Posted by Michael Tokarev 3 weeks, 6 days ago
The only place where we used CONFIG_EPOLL was linux-user,
which now enables it unconditionally.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6ea49c6fc0..f8b4f06049 100644
--- a/meson.build
+++ b/meson.build
@@ -2617,7 +2617,6 @@ config_host_data.set('CONFIG_FSFREEZE', qga_fsfreeze)
 config_host_data.set('CONFIG_FSTRIM', qga_fstrim)
 
 # has_header
-config_host_data.set('CONFIG_EPOLL', cc.has_header('sys/epoll.h'))
 config_host_data.set('CONFIG_LINUX_MAGIC_H', cc.has_header('linux/magic.h'))
 valgrind = false
 if get_option('valgrind').allowed()
-- 
2.47.3
Re: [PATCH trivial 6/7] meson.build: do not check for epoll.h (CONFIG_EPOLL)
Posted by Richard Henderson 3 weeks, 1 day ago
On 1/14/26 00:00, Michael Tokarev wrote:
> The only place where we used CONFIG_EPOLL was linux-user,
> which now enables it unconditionally.
> 
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   meson.build | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 6ea49c6fc0..f8b4f06049 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2617,7 +2617,6 @@ config_host_data.set('CONFIG_FSFREEZE', qga_fsfreeze)
>   config_host_data.set('CONFIG_FSTRIM', qga_fstrim)
>   
>   # has_header
> -config_host_data.set('CONFIG_EPOLL', cc.has_header('sys/epoll.h'))
>   config_host_data.set('CONFIG_LINUX_MAGIC_H', cc.has_header('linux/magic.h'))
>   valgrind = false
>   if get_option('valgrind').allowed()

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~