From nobody Tue Apr 7 22:05:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1773232831; cv=none; d=zohomail.com; s=zohoarc; b=Me1JYFqqtdh9mG1jn8Tjo1gACOL50fjSKzFEE7R0FMuHEyrNwLA6Ivp0Ybecj5rklUvoEi8XoXmHAg9QYMQutF3CdrOfF5EyY6va/sc56vY7kLB1JUsIpMxeogAN4sMi9dQpS/iI6Hn0ili3D7wgB6TjtPqz+9LmI7oBB+e+pCA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773232831; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xQHJ6IMYQ4LQOfDNH0HbXieII4zXPsvcaJWl4G6RRws=; b=HK9yXdcYIjTyiJA+N3qPUgrhR01zQtwhKJ8FFDtRfGniBgj0Rw4J+lXa/i012m1+lB2agw9/9yvd2CyzVmqS9rO7a+uYFVylAr0RBrcgehebQOtQJmxKYoeERwemdCOPCmOZ9JmXSuqbEWg8qET+5yhe7iBa6KD9nAeGBS8gsfg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773232831907156.26558123517918; Wed, 11 Mar 2026 05:40:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w0IrQ-0008H0-Ud; Wed, 11 Mar 2026 08:40:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w0IrL-0008FW-OG for qemu-devel@nongnu.org; Wed, 11 Mar 2026 08:40:21 -0400 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w0IrJ-0005rv-7z for qemu-devel@nongnu.org; Wed, 11 Mar 2026 08:40:19 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 14512191D56; Wed, 11 Mar 2026 15:39:36 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id C1EBE37C1E8; Wed, 11 Mar 2026 15:40:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1773232776; bh=1KKUFgNh9gZ7oLeTU+FTwfCvbuS0tBBJLiihjEM0l9A=; h=From:To:Cc:Subject:Date; b=rTXW6XFWzPAxvYY+79ND4onRYjNtkAC492JY68p5BYz+7Dl4J434VwPNmJjHIg2zL 1mVmBktXnw+K9Hppl7jsh1g7OLh1YZ9q8v/12Zjratdnkv4lgj/XMU4763evCvFCDA TkCp+VqpbLppx+Lxs7Jx6SzKeGbttsWcPHtradefyAaSRemkmrX7tsWmc7gSG7PwVg UhCWqm6UuHA6ijA8LEdqkTi4w5C92vp3u0q9Dplg/EwPjhTNDZtiduAE93ouVMR07f fcUBhsmyuUL1jYztCNVxroTjJhQEqDk5XRQ/kgsWnY15z2xQ2TvhPsJ5GOaHP5fjBM R+VzgwUoBGekQ== From: Michael Tokarev To: Warner Losh , qemu-devel@nongnu.org Cc: Michael Tokarev , Paolo Bonzini , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , "Daniel P . Berrange" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] meson.build: stop checking for inotify_init() Date: Wed, 11 Mar 2026 15:40:06 +0300 Message-ID: <20260311124008.1070746-1-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @tls.msk.ru) X-ZM-MESSAGEID: 1773232836374154100 Content-Type: text/plain; charset="utf-8" the only place in qemu which used the check for inotify_init() was linux-user, which now assumes inotify_init() is always present. There's no need to check for this function anymore. Signed-off-by: Michael Tokarev --- This is on top of: https://lore.kernel.org/qemu-trivial/20260119140557.2167351-2-mjt@tls.msk.= ru/T/#u which gets rid of usage of CONFIG_INOTIFY from linux-user/. meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 5143639a19..a513d3eb3a 100644 --- a/meson.build +++ b/meson.build @@ -2675,15 +2675,12 @@ endif config_host_data.set('CONFIG_ASAN_IFACE_FIBER', have_asan_fiber) =20 inotify =3D not_found -have_inotify_init =3D cc.has_header_symbol('sys/inotify.h', 'inotify_init') have_inotify_init1 =3D cc.has_header_symbol('sys/inotify.h', 'inotify_init= 1') -if (have_inotify_init or have_inotify_init1) and not cc.has_function('inot= ify_init1') +if have_inotify_init1 and not cc.has_function('inotify_init1') # FreeBSD 14 and older need libinotify-kqueue wrapper inotify =3D cc.find_library('inotify') - have_inotify_init =3D have_inotify_init and inotify.found() have_inotify_init1 =3D have_inotify_init1 and inotify.found() endif -config_host_data.set('CONFIG_INOTIFY', have_inotify_init) config_host_data.set('CONFIG_INOTIFY1', have_inotify_init1) =20 # has_header_symbol --=20 2.47.3