@samitouri / QOSamiQemu / commits / 44c49d9b0d

meson.build: stop checking for splice()

CONFIG_SPLICE was only needed for linux-user/, where it is not used anymore (assuming splice &Co is always present) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

Michael Tokarev committed Jan 9, 2026 at 23:28 UTC 44c49d9b0d4da5a09ac5ac7f70a7d306ea0057e1
1 file changed -8
meson.build
-8
@@ -2908,14 +2908,6 @@ config_host_data.set('CONFIG_PTHREAD_AFFINITY_NP', cc.links(osdep_prefix + '''
2908 config_host_data.set('CONFIG_SIGNALFD', cc.links(osdep_prefix + '''
2909 #include <sys/signalfd.h>
2910 int main(void) { return signalfd(-1, NULL, SFD_CLOEXEC); }'''))
2911 -config_host_data.set('CONFIG_SPLICE', cc.links(osdep_prefix + '''
2912 - int main(void)
2913 - {
2914 - int len, fd = 0;
2915 - len = tee(STDIN_FILENO, STDOUT_FILENO, INT_MAX, SPLICE_F_NONBLOCK);
2916 - splice(STDIN_FILENO, NULL, fd, NULL, len, SPLICE_F_MOVE);
2917 - return 0;
2918 - }'''))
2911
2912 config_host_data.set('HAVE_MLOCKALL', cc.links(osdep_prefix + '''
2913 #include <sys/mman.h>