From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166544; cv=none; d=zohomail.com; s=zohoarc; b=Cy4Fv9D1JAn1VDleyQiUAKtA696/LoFn5v6OXQlLIOLQuTtUB5gCsDZyqYZwAoqAdO4thZUassQymeKsJfthBNPXLsKML6tcYxa9cUDBfy+dnUxaMq92rvWHAOmY4Wy3xYzOTsGlqUCGREi1rXnAWW0y76ZC6P2kIABKdUU8YnQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166544; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=2JfIRF2rFr3TmpkMzwSurtenlCN5AxfALqStaf+SSlM=; b=ZkqPHoqbZgWHCUEAIt5YMDodzEAreYV2ZDGjvXSzG/qM9qTvMBxR3iw0hwfqD/A0m7TaFP+X0vvi9DUrM7d+KBSrlMonjMXlqGQwdhmuSHy/nHZ0wnvuh6Po4K3ynJ6ucLFTTlxhOCmW94SxTLta4Oiahg0QRm0puEGogDTloHs= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166544146503.10416271882946; Tue, 30 Dec 2025 23:35:44 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqim-0007TY-4d; Wed, 31 Dec 2025 02:34:16 -0500 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 1vaqik-0007SM-DY for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:14 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqii-00019Y-TB for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:14 -0500 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7f121c00dedso14200065b3a.0 for ; Tue, 30 Dec 2025 23:34:12 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166451; x=1767771251; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2JfIRF2rFr3TmpkMzwSurtenlCN5AxfALqStaf+SSlM=; b=lHLy29ppwTS3dqcOskPDCqH4KBsagOVq1MzLXdmff/vPNKwVUCiS2wkVZCltK10CwI v8ZlRUZqlkMBo42LSmN/Mr5W3/O+F6WMWejMEcZ6EgV4ybkTyIBLxlPSieCQsYXYnpsX vwNquov57WjzLKm5qX/q+iBRwZtm6rW4jXJxdcyjeDsOm/uYzp3OKFolrbmkKJOwhszS Sp9Jzn6cqNd4SAgqgOUuiGV7yI/iVniuZOm+P03Sx6aonKtxr5eg+9vOEVpJwQo1MGis /hfvPtB3Hxki3ZHNJpbmhrxc5Jv3oWrBY2ww+6CUZzEultwGi+76cyUZGIeDV6FJcD6w Cx9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166451; x=1767771251; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=2JfIRF2rFr3TmpkMzwSurtenlCN5AxfALqStaf+SSlM=; b=r6FUinBHqemDwb16qkLsN2B3q6HtyxIBo5/VaDnfMnQcgQCYlh34nH6UY770D4ruka zpg0UUxVNrD/FkvR+zQnZmNu0xOBT52Kv2SzXgwKYxfMWDSHcgyDtqsqvzdygolaoc1y v+/bE/ziNaVDRb33gqP2K5Gob0uoZv8/DG4SM3J2/jrxc5OS9g/VMDjllA4cm4qvU1FW g6O8vK5Ief2mjEpfc7qLhaAwezVCdUEBT/bj+1cACeP6iFy5NFwYS9gXy2F3fxyb8Kr+ EATK4t561GzusFRbTzXQ3Y5RdD0s8uTMvK3TDRYQBhPpCxP1RRheKeeDZit7zflcxaI5 EcfQ== X-Gm-Message-State: AOJu0YyCMNaoKS1h5Aer2n+llUvVECQ/2qilc5hIjz/k/xo8AUF6Lsfn eZOYUCs36sBp6AYYj/x6wHe2NiHrVGrDTpqyrgo+xUZBZvkVos4+iOE8ujkvc42+O9e9o4Hf7dn LBUdp X-Gm-Gg: AY/fxX4SH2HLhMjDV/oC7etcGxyR7sqROy1XZWUVq4GW/1DAMHBw0d7k3JcF1h1wHtZ CoCwdo2aKG5aoYr/Mnran/+P3ngBHtDnJDUH4eh5ewl/IlPvdm58icf6ftoQEyEQ4rSo6WPEpPC ggUQVcgfPwRU9S0x1r1Lusyif7hYOSD2UYK07RwPT8I57ZQixTXNLWS5eOCHDy9ywboULvhuNvy i+myi/V4krlKY8x240DKYwtoYDZ3SDPEYWFBPbhWcGY7VxEVHbStG7o1zbE/JVPET+Vl66eVRkJ +LYqGFjK7qDv/wND6g+yxOB96UIrPRnV9o12craCkeqtwLlcOs06havsQc62PcVAGdr0/B9zpM5 NSYaQcBSpBuOSdBxZHhj9g/53a/08+CDxTKLixCxsrPtsrj3JmCbyhhkZeL8S7eP7v6p2bUmWgk R53Q3q2Nh6bqjoNSz4Mhpo2eaLFmFgBeSNkgFtEJVqVyx1xHeqLgWl7iJo4QCjjBCN X-Google-Smtp-Source: AGHT+IGWHG7LEI9zr4Ocrz1Q0OLYG7Qn1bZWbl0H1LRksLzmBXTPtBOr6vGW1bYoO5qpZJc30vG/Bg== X-Received: by 2002:a05:6a00:3404:b0:7e1:7a1c:68bb with SMTP id d2e1a72fcca58-7ff64cd45acmr35945020b3a.16.1767166451417; Tue, 30 Dec 2025 23:34:11 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 01/11] plugins: move win32_linker.c file to plugins directory Date: Tue, 30 Dec 2025 23:33:51 -0800 Message-ID: <20251231073401.2097765-2-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166545714158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- {contrib/plugins =3D> plugins}/win32_linker.c | 0 contrib/plugins/meson.build | 2 +- tests/tcg/plugins/meson.build | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {contrib/plugins =3D> plugins}/win32_linker.c (100%) diff --git a/contrib/plugins/win32_linker.c b/plugins/win32_linker.c similarity index 100% rename from contrib/plugins/win32_linker.c rename to plugins/win32_linker.c diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build index eb944b5159a..6f72b2ce0c9 100644 --- a/contrib/plugins/meson.build +++ b/contrib/plugins/meson.build @@ -10,7 +10,7 @@ t =3D [] if get_option('plugins') foreach i : contrib_plugins if host_os =3D=3D 'windows' - t +=3D shared_module(i, files(i + '.c') + 'win32_linker.c', + t +=3D shared_module(i, files(i + '.c') + '../../plugins/win32_linke= r.c', include_directories: '../../include/qemu', link_depends: [win32_qemu_plugin_api_lib], link_args: win32_qemu_plugin_api_link_flags, diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build index 561584159eb..a6e78438510 100644 --- a/tests/tcg/plugins/meson.build +++ b/tests/tcg/plugins/meson.build @@ -2,7 +2,7 @@ t =3D [] if get_option('plugins') foreach i : ['bb', 'discons', 'empty', 'inline', 'insn', 'mem', 'reset',= 'syscall', 'patch'] if host_os =3D=3D 'windows' - t +=3D shared_module(i, files(i + '.c') + '../../../contrib/plugins/= win32_linker.c', + t +=3D shared_module(i, files(i + '.c') + '../../../plugins/win32_li= nker.c', include_directories: '../../../include/qemu', link_depends: [win32_qemu_plugin_api_lib], link_args: win32_qemu_plugin_api_link_flags, --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166510; cv=none; d=zohomail.com; s=zohoarc; b=PY/RISsB0lXD/WPTNBMqT5TArtnessQCcp12iyvHDcEcpcEwohgsudPbS6I+igTJlKAtcEChB0uEmUMdvaKDZgJ9XqAbJ5BjeqZLeFw4r58Wg9cGUD2FXFr0TsYMSmpxlAFEiVeMaiCx7qBzOT+ACVjQza6aPLkLocS2aF/FfoQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166510; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=FAxt9eRCBAnOw0tS+03oIZgAiM6wZWJgVfag7QKOmwk=; b=BhXNu0Rn71m2OsbTlPL02Lr+fnMgNalHx0Yj9BTmXQ/U9idhfQkuY8w2ttP74iHL3a3b4fsiSfdB4bmaZRsW12Hd4ZRcYZAwyvzEjwRFsHBcnwNktvjPrXFgH3Z3WoPUTlKWB/hfKCgoH5OJf60mI9cRES523KLyelfevInuMaQ= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166510674464.2103429184705; Tue, 30 Dec 2025 23:35:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqio-0007Uf-4z; Wed, 31 Dec 2025 02:34:18 -0500 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 1vaqil-0007T2-MA for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:15 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqij-00019k-Qs for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:15 -0500 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-7b9387df58cso17030793b3a.3 for ; Tue, 30 Dec 2025 23:34:13 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166452; x=1767771252; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FAxt9eRCBAnOw0tS+03oIZgAiM6wZWJgVfag7QKOmwk=; b=ukzljoJBDBSvOqXofB3Ew+yJrMwZaAZ4uZSIykJecCCpYvxV1MlcIlXlxdNNPetSlc uS0O+ciakIYTukwfjSrclueSouznQsBQmP6phBgdJR2SeDzK7HpW6BjVoZA1lZKSi7Ik IpJsTNdUXNBIzF+QSCcH0cb5rJI+oNsrCVp3hjg3XLnlt+L2uAIx9fFjWJ4WTecbQqjL mRPdxLVCS3A9ULQ8iGYFGu8771xS9IkseHsWCGojLUL3yTKYD59wjKuAudsvAEFbBKKG DXrEnKd/g4A3odjeOaYclSrfxhfunFsyCbs1Kmir0LsEQ6za3vQovBzkN3A28f7yvrxt fryw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166452; x=1767771252; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FAxt9eRCBAnOw0tS+03oIZgAiM6wZWJgVfag7QKOmwk=; b=MGPHgr6+2dPKS9VYI5tvLDqOg8A52j7HlHmAZ9lsPkLU4Z8vMfqkvqooT1fSXU+Xit rVFD+24A6HXuMLff+6WJMFNIEUUbaJ+TWvEnjDODymwyc7e2sIifZgXBRrtVLyDbFV5c Ms0yTYmVCcdmjR5kLJRieGFwvAs3zMPs830OWUTH5QJ+D63XUsA1mp/Djp3YX0zMJf13 tZi77USK+Kr2jEVD2rsJLjtaOZIHAOV9FaiA2b9dzzs20tBNdSgKyzlfG1/LS6iDwa6U L36O4QyZ88UvGI1nevi4pdRZS0E9WhmmFQcPxoEFgkZwNUGJ8jCzXdSn0mvpiUyUH5AN oRTg== X-Gm-Message-State: AOJu0YwyYszacmHf7ECJYsDkOXrr2M+aatsD8u5AjnttAdQadLXgQMZ1 syjKNWgMspzCr5TQ0IgSpv3mrm+mz4iUeCxq1hrgbYUgJCgY1nqJVuXAjiU4J9ztx8X1hw3wu0S pnLIs X-Gm-Gg: AY/fxX693doKw07mLuRcDge7HWL10zf/kW/KvRGTDpfUigM5eSqs9+gViS6QOVoBerE G/il7XwOSWymOvHyYAL7u8M5w6D9Vl+KygU+FfxLjpzXKAwlMevVC8IwgZOgvsc5b/VdTBm0oQq zF/8OpGirrCVl93G/o8mRWQTZQaXE6FDpWdK0MggNqbX+M+10I9+YylEMg4yIPhLB9YK+7BZXnV 9N9LdrPkcEAfyNk7+aVDQQsIt1q7X32J6E2+VYgG3mQXaf9Rel6EVD2bbVjKEC40EQSw1ePMXm9 hE21kN8QCqd43SkkRM3pvSzN4wCZvBLUsb40eYB31hqh6cqMSztolYBCETi/ZaAfEIO6wUUR9g9 f/4w/pk6quVbYOIHmAMTHqwjs177/7M1O+T5iy6+mDQ8Z2peMRbD6ZujQKCnQjrMNiBP1a3/MSD hSFmBB5jHHmwRW8ecfI646m07k7stXbHxPTzc+QBDoymEYsicW0CgVKy1WqUNY8dUg X-Google-Smtp-Source: AGHT+IFwRKP6Bw9nsdpRclJzyuLuRPqN4r6Z8Kc0Faz4N+KleHtSDJbpKHp7FOx7Cb2PWg/AAjC02Q== X-Received: by 2002:a05:6a00:2e19:b0:7ff:dcb5:de20 with SMTP id d2e1a72fcca58-7ffdcb5decdmr31362074b3a.66.1767166452263; Tue, 30 Dec 2025 23:34:12 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 02/11] plugins: factorize plugin dependencies and library details Date: Tue, 30 Dec 2025 23:33:52 -0800 Message-ID: <20251231073401.2097765-3-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::42c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166511554158501 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- meson.build | 2 +- contrib/plugins/meson.build | 13 ++----------- plugins/meson.build | 15 ++++++++++++++- tests/tcg/plugins/meson.build | 13 ++----------- 4 files changed, 19 insertions(+), 24 deletions(-) diff --git a/meson.build b/meson.build index db87358d62d..3d6c6c702d0 100644 --- a/meson.build +++ b/meson.build @@ -4499,7 +4499,7 @@ if get_option('plugins') if host_os =3D=3D 'windows' # On windows, we want to deliver the qemu_plugin_api.lib file in the q= emu installer, # so that plugin authors can compile against it. - install_data(win32_qemu_plugin_api_lib, install_dir: 'lib') + install_data(win32_qemu_plugin_api, install_dir: 'lib') endif endif =20 diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build index 6f72b2ce0c9..8f9f0257ee5 100644 --- a/contrib/plugins/meson.build +++ b/contrib/plugins/meson.build @@ -9,17 +9,8 @@ endif t =3D [] if get_option('plugins') foreach i : contrib_plugins - if host_os =3D=3D 'windows' - t +=3D shared_module(i, files(i + '.c') + '../../plugins/win32_linke= r.c', - include_directories: '../../include/qemu', - link_depends: [win32_qemu_plugin_api_lib], - link_args: win32_qemu_plugin_api_link_flags, - dependencies: glib) - else - t +=3D shared_module(i, files(i + '.c'), - include_directories: '../../include/qemu', - dependencies: glib) - endif + t +=3D shared_module(i, files(i + '.c'), + dependencies: plugins_deps) endforeach endif if t.length() > 0 diff --git a/plugins/meson.build b/plugins/meson.build index 62c991d87fc..4318e3a1671 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -51,11 +51,24 @@ if host_os =3D=3D 'windows' dlltool_cmd =3D [dlltool, '--input-def', '@INPUT@', '--output-delaylib', '@OUTPUT@', '--dllname', 'qemu.exe= '] endif - win32_qemu_plugin_api_lib =3D configure_file( + win32_qemu_plugin_api =3D configure_file( input: win32_plugin_def, output: 'libqemu_plugin_api.a', command: dlltool_cmd ) + win32_qemu_plugin_api_lib =3D static_library('win32_qemu_plugin_api', + link_depends: win32_qemu_plug= in_api) +endif + +if host_os =3D=3D 'windows' + plugins_deps =3D declare_dependency(sources: [files('win32_linker.c')], + include_directories: '../include/qemu', + link_with: win32_qemu_plugin_api_lib, + link_args: win32_qemu_plugin_api_link_= flags, + dependencies: glib) +else + plugins_deps =3D declare_dependency(include_directories: '../include/qem= u', + dependencies: glib) endif =20 user_ss.add(files('user.c', 'api-user.c')) diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build index a6e78438510..c58f2e382ae 100644 --- a/tests/tcg/plugins/meson.build +++ b/tests/tcg/plugins/meson.build @@ -1,17 +1,8 @@ t =3D [] if get_option('plugins') foreach i : ['bb', 'discons', 'empty', 'inline', 'insn', 'mem', 'reset',= 'syscall', 'patch'] - if host_os =3D=3D 'windows' - t +=3D shared_module(i, files(i + '.c') + '../../../plugins/win32_li= nker.c', - include_directories: '../../../include/qemu', - link_depends: [win32_qemu_plugin_api_lib], - link_args: win32_qemu_plugin_api_link_flags, - dependencies: glib) - else - t +=3D shared_module(i, files(i + '.c'), - include_directories: '../../../include/qemu', - dependencies: glib) - endif + t +=3D shared_module(i, files(i + '.c'), + dependencies: plugins_deps) endforeach endif if t.length() > 0 --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166532; cv=none; d=zohomail.com; s=zohoarc; b=mBcMy9jZAg3zSmWr9/P06C8QUKy+jKbqOcMc9dHEUczvJaFZE1Vf3aAnShD60j+aOIQoKNT5RA7nSEnLE2A/r4w4oIxaYxt+MmkMoPIW6wWoOfRnpIO9XTNWMKzpjBwjcWKWS+UtMojTQnxhEPWuSe3ysORgwH3NcZqJ2Vz5uPY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166532; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=RWGWE4Bxa3lEYhB70C/OA4M6WCFI551z6buXxUEvQJY=; b=KQdF4UEJMi6BxL5dyh6nO/CFGUhmBdqcx7EKNXvLFlXismSW3qIeebNEZ+jG+MukHQhuY1nOmQhDQG1ek9xSlyNXzQCe3qSDjiFWpFzxUzdroJCGGelCqLE5LImF6XYy33rGutrwuPl3NeBWmYVkk75+vxS+i25f+3tT7pRlB/Y= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166532339924.7568779664941; Tue, 30 Dec 2025 23:35:32 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqim-0007Tx-Lj; Wed, 31 Dec 2025 02:34:16 -0500 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 1vaqim-0007TW-2O for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:16 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqik-0001A6-GX for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:15 -0500 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-7b75e366866so4754321b3a.2 for ; Tue, 30 Dec 2025 23:34:14 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166453; x=1767771253; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RWGWE4Bxa3lEYhB70C/OA4M6WCFI551z6buXxUEvQJY=; b=pxtW75eMpa0XVCS8qg1z6b3Kz23kZ6iXHH2q70pO6vjNfb6vUKazSS2YZFe2wyN1GQ jo+2/nVuBukc6+DlTkiTotp+dZodG6qzYEt6q7Rd6ESIdfofaz6kUrwY8maPfIXSBruI HxkRwaJ4s1zrXuiTIVvxjJl6mhURkRM+FdzPQlxV8K06d4dou4BflaR+Yv4rLdsZo4iU 9NSXQuJnO6KH90oy3a98iMo2nRq9vGYZxo96Mm/sQ2wGLZZ4vHQBaHlLQI4lsMF5nl6f oYGM76ZNBxhTEeeuWeca82xK5C0aZlnEVDNZ1vG+8A2urYlYyWTEZrHW3aStN0gg7aac qjPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166453; x=1767771253; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=RWGWE4Bxa3lEYhB70C/OA4M6WCFI551z6buXxUEvQJY=; b=VUsvAIfN6MTBEH7dU99xMtGTPaxR3klJkEcRqsORZbC1P1PC1rHqnkX7fVLteySyWa Y207TEOM8RE3jaQhDxe5Nfu+Lt30rIDh2JaP+PPmiABr8r1Jr9ZT1zYDPpT7F4vtSPGI jSUxdErmpwOETMQNn5q3JsQ1SfDNDA3zMoaNEiliSp0vzmG8twoBQqWdw2R7fPfMTuQt tq8D9Qocl+Z6xMfcahbCQt27n85P0cw/6h7Py1G8bcMxjwUDPDmcWbWrOFQyLio5s03p FA9VCaNqvjorxmei/sm4jga1ie3wuXq3TYZJ5Ypcei4wu4zEEpo/FaUFLezFoo1BB52w WXug== X-Gm-Message-State: AOJu0YzC3jzAQfNBN992xKIj6UeLtDD/4ium4t22LSMGS6yvNhzEBG0T /yOoaVZ6D0wwYtiBbSCnH8HjAi1kj0YvS54tLg8IPszBjg9rt3iAIy5oU3Bqvx/fbvM2AW5uoDg gLcDy X-Gm-Gg: AY/fxX6FwFoTy5N1ySPyk1QlRxxWaHjeM8BCKEKjMyfkMYs8wnn4ILdH7pAwNIM5Fy/ NOT3kZGfps6R427hCFdn+uwZ/5mECSvWOM3HwnofgOUG12quXmbIiwZiWav2lo5pX+3D2gzIT72 rtbNUwnlcbiCB11z+dUevjel+zHuIrwQ/RdIyv1nj3MSDE6B0gh9OV/Zngewq0ZUKk8M0Q0yEDY dOnZyo2JZnMzeTf2GsO3xO3ujNPR1KOpELNZfVhcnOKyPhkK30nEepHT+yxtKmpGZsiVS+xWP2M BRMyutWnN3OoU0ybFKv3Q+f/NuPyZMoeQunIy3l+Ha4CxzM7sAOm51iWKFUquyDqsDCxjToDUoe cjuLaJ11jDcLDIv0b/lPSQ+8sVl3P1p2rhmd+4X+xjywQxFpBntUWDhW+Yk0wTDN0hOOC3wkDgL Tp/BLe//AYaSTMgpTzZlNF/o1jwxKVz6s1n+e2VE4kdwwfSoz+pkJFt8jEY4lkD5D6 X-Google-Smtp-Source: AGHT+IEcHV+01P6dEU2BOzXLglU0iSiESN18oqQZl3UaCqlszfR2qYtOALS5gArj0J80WqVxGO6Yow== X-Received: by 2002:a05:6a00:340b:b0:7e8:43f5:bd4b with SMTP id d2e1a72fcca58-7ff6725a0a3mr30428933b3a.55.1767166452989; Tue, 30 Dec 2025 23:34:12 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 03/11] plugins: use complete filename for defining plugins sources Date: Tue, 30 Dec 2025 23:33:53 -0800 Message-ID: <20251231073401.2097765-4-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::435; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166533732158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- contrib/plugins/meson.build | 12 ++++++------ tests/tcg/plugins/meson.build | 9 ++++++--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build index 8f9f0257ee5..3d2d7862e0c 100644 --- a/contrib/plugins/meson.build +++ b/contrib/plugins/meson.build @@ -1,16 +1,16 @@ -contrib_plugins =3D ['bbv', 'cache', 'cflow', 'drcov', 'execlog', 'hotbloc= ks', - 'hotpages', 'howvec', 'hwprofile', 'ips', 'stoptrigger', - 'traps', 'uftrace'] +contrib_plugins =3D ['bbv.c', 'cache.c', 'cflow.c', 'drcov.c', 'execlog.c', + 'hotblocks.c', 'hotpages.c', 'howvec.c', 'hwprofile.c', + 'ips.c', 'stoptrigger.c', 'traps.c', 'uftrace.c'] if host_os !=3D 'windows' # lockstep uses socket.h - contrib_plugins +=3D 'lockstep' + contrib_plugins +=3D 'lockstep.c' endif =20 t =3D [] if get_option('plugins') foreach i : contrib_plugins - t +=3D shared_module(i, files(i + '.c'), - dependencies: plugins_deps) + t +=3D shared_module(fs.stem(i), files(i), + dependencies: plugins_deps) endforeach endif if t.length() > 0 diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build index c58f2e382ae..303f97f9679 100644 --- a/tests/tcg/plugins/meson.build +++ b/tests/tcg/plugins/meson.build @@ -1,8 +1,11 @@ +test_plugins =3D ['bb.c', 'discons.c', 'empty.c', 'inline.c', 'insn.c', 'm= em.c', + 'reset.c', 'syscall.c', 'patch.c'] + t =3D [] if get_option('plugins') - foreach i : ['bb', 'discons', 'empty', 'inline', 'insn', 'mem', 'reset',= 'syscall', 'patch'] - t +=3D shared_module(i, files(i + '.c'), - dependencies: plugins_deps) + foreach i : test_plugins + t +=3D shared_module(fs.stem(i), files(i), + dependencies: plugins_deps) endforeach endif if t.length() > 0 --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166509; cv=none; d=zohomail.com; s=zohoarc; b=fYTrfApZEetd2wzsKmRcl32mNx43rYZwDG0pBoR6j7evdb0sFNb4xLzz1ejOnfp7M7bKoEBzXBDwCiXoPteeYK2/4zEpZhcLe6s/OO/pgcqwo0ui+EsAKDk426XwdaXi35j+wxEQLt67p0o75VnWyr/lgTH2TQEoOBCAYXv76rI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166509; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sa5EHxYx/snq7aAH+sWySlzd4bZ6Z+JvqzA3ZIoZGIo=; b=ae+9dhxo41s5SKybjZZkQkcBaJbvZpchYGgb6fB+FVorDrS280tACzi67agXWebAUuki1FvLJVsVTgdFbYcLBfyuvJZE1YgdAODU/2J0cZDgRLUT0JNvZIcp+BnhLfG+e7CEpMA6rtVGY6mmMCXl4M1yw70VKhJ5Mn+ZFIya4Ds= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166509819674.6338592294742; Tue, 30 Dec 2025 23:35:09 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqin-0007Ub-KU; Wed, 31 Dec 2025 02:34:17 -0500 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 1vaqim-0007Ty-O5 for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:16 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqil-0001AQ-7c for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:16 -0500 Received: by mail-pf1-x441.google.com with SMTP id d2e1a72fcca58-7b9387df58cso17030818b3a.3 for ; Tue, 30 Dec 2025 23:34:14 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166454; x=1767771254; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sa5EHxYx/snq7aAH+sWySlzd4bZ6Z+JvqzA3ZIoZGIo=; b=KPg6O3+8i6Lco72okADxVyOUQzI54T15YYHrtnEO8lqyCk/AoQfKyjBfh3smUfsDKt Q+nfdNhbLak+odkIdIK6LqnnhXOHvpUJiy6lBEiPHgx9qpPklFqK+8ezhMa2yJp5rv1s h7TCST+I0nKY2/DUcZpGg6/cFbsl+Rzqz/GbekKz349XRjaxJkj2GkZAxOtgD0MysfpJ wAoejlr0RtzvJUXhIa3PRpCxa7/6721Vf3FuP/BN88xyXQvPhmTtUvi2L4AiV15W5p9D xYfpeirSCHB/EJENB2MtUH3I0LQsdltgqiDfS1rDhXgV8cFpjXroAJtoMxQOIZ3M3pw+ x10A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166454; x=1767771254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=sa5EHxYx/snq7aAH+sWySlzd4bZ6Z+JvqzA3ZIoZGIo=; b=rya2CxV0gKu8irDuEPTGhnHndijBdsbLPqYE+yYnp8qVDypk5cmwH7cX4bNc694rul IM52sn0iYOUkrslwpCc5P4X3CNCefmM70+KMxtGdrxYx97///DsblK8jb9JBDF4+IfuD XptUBpdtMiLKvRs9O60L0xWVUKO/hAImgBKASXw8539a1p2gRFBfBopzZ7L3mb9YH2fn aCAa5On2+PNyeelCpEE+xIIDaHGTBd+g0zXt5457AoS+GNrWBQNJkJKIciCdzt+tZ7ii aat39KmMWFaVH3i2aPVxIzaVFX+WlPPFf1rXcDRq8397GTRhTC53YKnsqdT/BFmd+uXB q1+w== X-Gm-Message-State: AOJu0YxLgc3ya+UlLN5G1MKliiatwHludukFShLy7T9mTkDGhYaqDjWA JZIds+BquO0hgJmLoJ2u5U4pLKp+HBTkEIIVc0TwAlFJqktZ+bAIKxAWHetFRVKJIgy6QjG5zbm BMR8ogE8= X-Gm-Gg: AY/fxX5wU1CuzdRl/mKDZNf8AE0jArx+GoRFXaMyDxuSc6u4tgeB8QojNAcuZSMHIeA LhjgXwcHfeHIzoS8kvKKx+3zsiM74vgzrblKfIhraAOWayD4i1G5Pz5WH0dFQD3tbFxDXNul8RF 4qm+ZQFF8wLmNcgrlcbDmZU5wcmV6EHxOvvhjnOSoiDSgMM6sQlpECIAeQwnZJ4vQ2QutkJ8kxC 7LYT4apj7Rixz3V57c4YwnfFOTv8CXNpFKrOclZ6yRkQV2a7uvAE4ayJNIATx0+83x/7k0/aTKD z5HtrsFVMc2e7pLQ8xEpXRLvYbZxt9obmYp5arbQIqtWNw9cMGlFD3Z+e2AXw08stQgxVmCfeLp Z1E6QncJ2p8EueaoqW5sQgTwLsCbQb72MEPulcfpk9txwGVhKgcUbi/GeF82+rObfyzVIRIPpQG a+uRpGzvStL8dWU1vt54lXPKppGihr0trPMTBDSFFEwF6/KdW0AVTKT0iaettgPMomdUymu4rBu UQ= X-Google-Smtp-Source: AGHT+IEfHLVVRfxI8hd1x0+dbXf3lwrsDSCqzuApNsr3vsT8mjwypJRlqlsAlrB96JLn0KZDTxDSqQ== X-Received: by 2002:a05:6a00:808c:b0:7e8:450c:61a1 with SMTP id d2e1a72fcca58-7ff66a6d896mr33758355b3a.56.1767166453774; Tue, 30 Dec 2025 23:34:13 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 04/11] plugins: define plugin API symbols as extern "C" when compiling in C++ Date: Tue, 30 Dec 2025 23:33:54 -0800 Message-ID: <20251231073401.2097765-5-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::441; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x441.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166511554158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- include/qemu/qemu-plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 60de4fdd3fa..e44f863d839 100644 --- a/include/qemu/qemu-plugin.h +++ b/include/qemu/qemu-plugin.h @@ -16,6 +16,10 @@ #include #include =20 +#ifdef __cplusplus +extern "C" { +#endif + /* * For best performance, build the plugin with -fvisibility=3Dhidden so th= at * QEMU_PLUGIN_LOCAL is implicit. Then, just mark qemu_plugin_install with @@ -1210,4 +1214,8 @@ void qemu_plugin_u64_set(qemu_plugin_u64 entry, unsig= ned int vcpu_index, QEMU_PLUGIN_API uint64_t qemu_plugin_u64_sum(qemu_plugin_u64 entry); =20 +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* QEMU_QEMU_PLUGIN_H */ --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166508; cv=none; d=zohomail.com; s=zohoarc; b=KWXBDe4wNZ3hgOqG8nvp+M/V/pK3XxLzOOwzfsebAgL3Zz1mIWEZemArh7uutiSeBCm+ylcY/cb9rmMVue9g5ibboYmngsj7KcIUfhuMlbD1z3m0TvU7NvGMkafL57YvPUd4Pw7RIFWzNnzau/NBsAZPCcP75mPCos2uY13jEXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166508; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=61Ox3g57Sf+viLXH39+CDULuy7QZTHnRiB/sotzZN9M=; b=kPWU8ZEoZYfy9iehHzZ2f2o1n0Qf1lXZBZd5et+AtrOtIToJq7YTYcqA4rilfkNZTwSs6sMEn3OP8UC17dFSShSfwPEn4RXB1yDi2qHnHCO146HcS/T+BHLvvT3mciRQTWhNqyfQy6z3QptWLbyoTnLlfRRA/HFv6p+MP2WDFGI= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166508919140.5538920982682; Tue, 30 Dec 2025 23:35:08 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqip-0007Vs-LH; Wed, 31 Dec 2025 02:34:19 -0500 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 1vaqio-0007Uw-AC for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:18 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqim-0001Ao-4X for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:18 -0500 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7acd9a03ba9so11086883b3a.1 for ; Tue, 30 Dec 2025 23:34:15 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166455; x=1767771255; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=61Ox3g57Sf+viLXH39+CDULuy7QZTHnRiB/sotzZN9M=; b=awg2tp2wSaA1m8FOrZ/kd108h9cTAkvlwyeVYGjnc7tz6IC0rvQoMo5IeOz/JC4ZN6 3xSLu4XoedHrTC6ozVHCexGTYveY18ue4lwsuEMJXJguS+2S+CFPgL1bUvbIjO8oBcN+ 39sFGGQbJfZL/THfU9nCulvuQnKPAekMX6NgQi56nUguvByprsva5sRKV5H7NO82FZdj GAJBcGxfxHYOtuhOPDTnhXIJjTx4LRmZIScdTj+chmSGA9WlaEAfk575zG0T+aPmKg6l 5NumKuofZ6Pdw7YYnyZOCuulJ4TaIxwnXwtX/TGnH1Suivzf+tAslwvCss9hjJ0EGfoB VaVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166455; x=1767771255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=61Ox3g57Sf+viLXH39+CDULuy7QZTHnRiB/sotzZN9M=; b=FctzGDnbZWNVOWoaae458HK7obRM2QxpbNMPCnvqjtODbrCpCsvLPsGXtDYIJ4YZXK qnTWgp7FZYRbVijitI+q7Imd0F5CDJNfd2Q0qTkv27b6uO7ODvArj+kVTrNkoMrkB7zO 4cRSM1vZ650KuTo+MvTvaK9Z7Nh8MTN+qcdBRPbFmeHuLU9UDM1la19MaJ2nJTug1JOu nbubLnZhiCrURXUWe4zjepzTJCGYcQZVVP/nCaLkPVAoCf7+8JsQpI2FpP9vlLenfoFf OPXyAKR0SJ/pKKrTkcDvIrJMuBw/HltBoA0pxcr22gDiBjBx32iQWhCg2m/Gj8DOLcmb eUWw== X-Gm-Message-State: AOJu0YxXAg7DaHgK9HnOXpRUeGdD3zn4OyExyRtcAUY5o1Q0qoCklZpq cDc6+aENN6BXhRu3sN3y8NdJVTVmLFAi1k+EIP0QMmZ+FykP/vJzBpd+8sDD2Ud2AvuaoG26maJ bWf7c X-Gm-Gg: AY/fxX5fUT1XLtgjoc42Avq3hRVXcganYgCT3U3viLiBuJ6j4cr+bdVFowAtCBb/O+j c430QoY2EfEvw+kypbR9Uy1br4adEaUNI/TNT5fOUv+dPKL499KRiAcEtVOFlYdrgQQJfveW8Kv t4aIE1x/LpQ1zdAzGWZ+PBnadBPZXp/7RQdUU33KKG5syx/1LkaxO/GqvncR309H/QAz6cbNE27 teObZ27iqJsC1L7rEIuh6XXXYWgLDm31qkWr1zsKGbelSnKnalgGarKo8C3aiVyP1JTYb7LSlg8 U6W5FRGxVTR7FDL5cs5fOhAkT2BvUR9SvTwcBSuFPQCehhxEHSbts995ceyvP7nV/PENbETXoDh 83dsITiyn8NlqwbXG5i8XGbDMUoK4CGSPDn9Cvqzv7JnpjJvNC+hMG2vutrayqrYZjXKxlX+sis 5WOtiQQPu9XMzrPIfC988fkRILZ4dCOGgKXqVd6BZkC4SaGVD2WSS8egf2yiid5KyK X-Google-Smtp-Source: AGHT+IFr2BQfgqdsoAz6ZSs2bynSwblget3vPPS78gMEJCrPXxkfH3oy5/3E4GkGFXFyzBULpoiVbg== X-Received: by 2002:a05:6a00:44c6:b0:7e8:4398:b369 with SMTP id d2e1a72fcca58-7ff66c637damr28990442b3a.60.1767166454672; Tue, 30 Dec 2025 23:34:14 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 05/11] include: qemu/ctype.h -> qemu/qemu-ctype.h Date: Tue, 30 Dec 2025 23:33:55 -0800 Message-ID: <20251231073401.2097765-6-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166509464158500 Content-Type: text/plain; charset="utf-8" This headers conflicts with C++ ctype header, included from iostream. Signed-off-by: Pierrick Bouvier --- include/qemu/{ctype.h =3D> qemu-ctype.h} | 0 block/ssh.c | 2 +- block/vvfat.c | 2 +- gdbstub/gdbstub.c | 2 +- hw/core/bus.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/core/qdev-properties.c | 2 +- hw/hyperv/syndbg.c | 2 +- hw/nvme/nguid.c | 2 +- hw/s390x/ccw-device.c | 2 +- hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio-ccw.c | 2 +- hw/scsi/scsi-generic.c | 2 +- migration/migration.c | 2 +- monitor/fds.c | 2 +- monitor/hmp.c | 2 +- net/net.c | 2 +- net/tap-solaris.c | 2 +- qapi/qapi-util.c | 2 +- qobject/json-parser.c | 2 +- target/ppc/ppc-qmp-cmds.c | 2 +- target/riscv/cpu.c | 2 +- target/riscv/riscv-qmp-cmds.c | 2 +- tests/qtest/libqtest.c | 2 +- tests/qtest/migration/migration-util.c | 2 +- tests/vhost-user-bridge.c | 2 +- ui/keymaps.c | 2 +- util/cutils.c | 2 +- util/id.c | 2 +- util/readline.c | 2 +- 30 files changed, 29 insertions(+), 29 deletions(-) rename include/qemu/{ctype.h =3D> qemu-ctype.h} (100%) diff --git a/include/qemu/ctype.h b/include/qemu/qemu-ctype.h similarity index 100% rename from include/qemu/ctype.h rename to include/qemu/qemu-ctype.h diff --git a/block/ssh.c b/block/ssh.c index bdec94e9e92..8ae7be4b423 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -34,7 +34,7 @@ #include "qemu/error-report.h" #include "qemu/module.h" #include "qemu/option.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/sockets.h" #include "qapi/qapi-visit-sockets.h" diff --git a/block/vvfat.c b/block/vvfat.c index e334b9febb1..d495d07e5b0 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -36,7 +36,7 @@ #include "migration/blocker.h" #include "qobject/qdict.h" #include "qobject/qstring.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/error-report.h" =20 diff --git a/gdbstub/gdbstub.c b/gdbstub/gdbstub.c index 1f8cd118924..47d4f63d4e4 100644 --- a/gdbstub/gdbstub.c +++ b/gdbstub/gdbstub.c @@ -24,7 +24,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/module.h" #include "qemu/error-report.h" diff --git a/hw/core/bus.c b/hw/core/bus.c index 53f392fdda8..202c42b405d 100644 --- a/hw/core/bus.c +++ b/hw/core/bus.c @@ -19,7 +19,7 @@ =20 #include "qemu/osdep.h" #include "hw/core/qdev-properties.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/module.h" #include "qapi/error.h" =20 diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-properties-sys= tem.c index fe5464c7da1..420b60e9ba1 100644 --- a/hw/core/qdev-properties-system.c +++ b/hw/core/qdev-properties-system.c @@ -20,7 +20,7 @@ #include "qapi/qapi-types-migration.h" #include "qapi/qapi-visit-virtio.h" #include "qapi/qmp/qerror.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/units.h" #include "qemu/uuid.h" diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index 05489c8fbbf..3e762d83194 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c @@ -4,7 +4,7 @@ #include "qapi/qapi-types-misc.h" #include "qapi/qapi-visit-common.h" #include "qobject/qlist.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/error-report.h" #include "qapi/visitor.h" #include "qemu/units.h" diff --git a/hw/hyperv/syndbg.c b/hw/hyperv/syndbg.c index 1e177f9dd82..7219ed0f219 100644 --- a/hw/hyperv/syndbg.c +++ b/hw/hyperv/syndbg.c @@ -6,7 +6,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/sockets.h" diff --git a/hw/nvme/nguid.c b/hw/nvme/nguid.c index 4cd6fad6ac9..acd73ac695b 100644 --- a/hw/nvme/nguid.c +++ b/hw/nvme/nguid.c @@ -16,7 +16,7 @@ =20 #include "qemu/osdep.h" #include "qapi/visitor.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "nvme.h" =20 #define NGUID_SEPARATOR '-' diff --git a/hw/s390x/ccw-device.c b/hw/s390x/ccw-device.c index 25c42732795..6520fee7970 100644 --- a/hw/s390x/ccw-device.c +++ b/hw/s390x/ccw-device.c @@ -15,7 +15,7 @@ #include "qemu/module.h" #include "ipl.h" #include "qapi/visitor.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qapi/error.h" =20 static void ccw_device_refill_ids(CcwDevice *dev) diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c index d34adb55220..21adb5955b3 100644 --- a/hw/s390x/ipl.c +++ b/hw/s390x/ipl.c @@ -34,7 +34,7 @@ #include "qemu/config-file.h" #include "qemu/cutils.h" #include "qemu/option.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "standard-headers/linux/virtio_ids.h" =20 #define KERN_IMAGE_START 0x010000UL diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 8314655ec2c..217244643b6 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -19,7 +19,7 @@ #include "hw/s390x/s390_flic.h" #include "virtio-ccw.h" #include "qemu/config-file.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/qemu-print.h" diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index 0a676a16fa4..c2563ccbdf6 100644 --- a/hw/scsi/scsi-generic.c +++ b/hw/scsi/scsi-generic.c @@ -13,7 +13,7 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "hw/scsi/scsi.h" diff --git a/migration/migration.c b/migration/migration.c index 9d1bf5d276d..5b21eb07d5e 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -14,7 +14,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" diff --git a/monitor/fds.c b/monitor/fds.c index cc35d2ec334..d98c117a9b2 100644 --- a/monitor/fds.c +++ b/monitor/fds.c @@ -27,7 +27,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" #include "qapi/qmp/qerror.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "system/runstate.h" =20 diff --git a/monitor/hmp.c b/monitor/hmp.c index 4caafbc7146..023c4e77a84 100644 --- a/monitor/hmp.c +++ b/monitor/hmp.c @@ -30,7 +30,7 @@ #include "qobject/qdict.h" #include "qobject/qnum.h" #include "qemu/config-file.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/option.h" diff --git a/net/net.c b/net/net.c index a176936f9bc..ca2f49119d5 100644 --- a/net/net.c +++ b/net/net.c @@ -43,7 +43,7 @@ #include "qemu/sockets.h" #include "qemu/cutils.h" #include "qemu/config-file.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/id.h" #include "qemu/iov.h" #include "qemu/qemu-print.h" diff --git a/net/tap-solaris.c b/net/tap-solaris.c index 75397e6c544..6e1da970d98 100644 --- a/net/tap-solaris.c +++ b/net/tap-solaris.c @@ -25,7 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "tap_int.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "net/net.h" =20 diff --git a/qapi/qapi-util.c b/qapi/qapi-util.c index 3d849fe0347..b372c74dd04 100644 --- a/qapi/qapi-util.c +++ b/qapi/qapi-util.c @@ -13,7 +13,7 @@ #include "qemu/osdep.h" #include "qapi/compat-policy.h" #include "qapi/error.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qapi/qmp/qerror.h" =20 CompatPolicy compat_policy; diff --git a/qobject/json-parser.c b/qobject/json-parser.c index 7483e582fea..7c5618ba3f3 100644 --- a/qobject/json-parser.c +++ b/qobject/json-parser.c @@ -12,7 +12,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/unicode.h" #include "qapi/error.h" diff --git a/target/ppc/ppc-qmp-cmds.c b/target/ppc/ppc-qmp-cmds.c index 7022564604f..ae9711a21e3 100644 --- a/target/ppc/ppc-qmp-cmds.c +++ b/target/ppc/ppc-qmp-cmds.c @@ -25,7 +25,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "monitor/monitor.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "monitor/hmp-target.h" #include "monitor/hmp.h" #include "qapi/error.h" diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 8f26d8b8b07..17df96913ce 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -19,7 +19,7 @@ =20 #include "qemu/osdep.h" #include "qemu/qemu-print.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/log.h" #include "cpu.h" #include "cpu_vendorid.h" diff --git a/target/riscv/riscv-qmp-cmds.c b/target/riscv/riscv-qmp-cmds.c index d5e9bec0f86..618007fc0f9 100644 --- a/target/riscv/riscv-qmp-cmds.c +++ b/target/riscv/riscv-qmp-cmds.c @@ -31,7 +31,7 @@ #include "qapi/qobject-input-visitor.h" #include "qapi/visitor.h" #include "qom/qom-qobject.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/qemu-print.h" #include "monitor/hmp.h" #include "monitor/hmp-target.h" diff --git a/tests/qtest/libqtest.c b/tests/qtest/libqtest.c index 622464e3656..10a01ba76fa 100644 --- a/tests/qtest/libqtest.c +++ b/tests/qtest/libqtest.c @@ -31,7 +31,7 @@ #include "libqtest.h" #include "libqmp.h" #include "qemu/accel.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/exit-with-parent.h" #include "qemu/sockets.h" diff --git a/tests/qtest/migration/migration-util.c b/tests/qtest/migration= /migration-util.c index c2462306a15..1c6dbb6c19b 100644 --- a/tests/qtest/migration/migration-util.c +++ b/tests/qtest/migration/migration-util.c @@ -11,7 +11,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h" diff --git a/tests/vhost-user-bridge.c b/tests/vhost-user-bridge.c index ce4c3426d39..cb852194dd0 100644 --- a/tests/vhost-user-bridge.c +++ b/tests/vhost-user-bridge.c @@ -31,7 +31,7 @@ =20 #include "qemu/osdep.h" #include "qemu/atomic.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/iov.h" #include "standard-headers/linux/virtio_net.h" #include "libvhost-user.h" diff --git a/ui/keymaps.c b/ui/keymaps.c index 2359dbfe7e6..6dfd5a45ee3 100644 --- a/ui/keymaps.c +++ b/ui/keymaps.c @@ -26,7 +26,7 @@ #include "qemu/datadir.h" #include "keymaps.h" #include "trace.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "ui/input.h" diff --git a/util/cutils.c b/util/cutils.c index 9803f11a596..2c0a9926893 100644 --- a/util/cutils.c +++ b/util/cutils.c @@ -48,7 +48,7 @@ #include #endif =20 -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" #include "qemu/error-report.h" =20 diff --git a/util/id.c b/util/id.c index ded41c5025e..0ba538dce81 100644 --- a/util/id.c +++ b/util/id.c @@ -11,7 +11,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/id.h" =20 bool id_wellformed(const char *id) diff --git a/util/readline.c b/util/readline.c index 0f19674f526..f756d384625 100644 --- a/util/readline.c +++ b/util/readline.c @@ -24,7 +24,7 @@ =20 #include "qemu/osdep.h" #include "qemu/readline.h" -#include "qemu/ctype.h" +#include "qemu/qemu-ctype.h" #include "qemu/cutils.h" =20 #define IS_NORM 0 --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166475; cv=none; d=zohomail.com; s=zohoarc; b=IzbVOFsUh67AC4X5DsRiUiE2zb/mFvQTbDfGJWF7A6K3H6+KqKF1WlFp80Fd7BCFpNhCsxFYOIa4gmqkAs1mqFHaMk3kcjND3o04MuvwRSdz04UVicdoeMm+uFxTMcUWKF9fYHoQ4JKRbMuGbaPWlqZ7FxEjODFdEpTj2AMNqtc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166475; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Y2PnYPaVgv2a3r54rqJcVWPwTLSu9JeG2yAlY2Q9p00=; b=nuwUQOyTvR/si8RFZalD96lCVHInK0E0VDf5ruhuk567I976+E7tKi6TIFubPdrudxyQl2xX/uuTnEHtyaYrk6yWNbufHV4Kk5HIHVDgyfW1SyW5ekmmE17Ngzjqx6V583e8Zq19Kbq3yKzq2TJWOw9/MbP1b578KizaLIovn7k= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166475343645.5857037982753; Tue, 30 Dec 2025 23:34:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqir-0007bZ-68; Wed, 31 Dec 2025 02:34:21 -0500 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 1vaqip-0007Vr-E2 for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:19 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqin-0001B6-2h for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:19 -0500 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7b9c17dd591so9107206b3a.3 for ; Tue, 30 Dec 2025 23:34:16 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166456; x=1767771256; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y2PnYPaVgv2a3r54rqJcVWPwTLSu9JeG2yAlY2Q9p00=; b=TF7qkIDMCkA0QTd9MHx+iSblFcB2e6S6rGiIlNmF7PHU2V9mFAMPaDsq1iKPC2UJWr tKg2tUlhaP7NEPCz08lRvG+P4zvD2CMZNCs5hvyq8ZcpfPDFJI6f7vsQSqX1L+2GzJ6/ 4izB2BuK/51O/oNPxok2fgBcFzRuld1BboVf+nSDLCHXt5VEgowJKy7eMAe8SzUgdWUv DdguxNdUwPIAX4CWo+CVozAchmpYe1vWgJjj5F0S+/D09Wx3T/KLj/8w+UCobQiIclgZ zoIeG/7P9qjG6jG7Xtewa/PlBTis8zRbR9qlwtDfES7dYYr9UNlt4POAHWde3NlMFLG7 vitw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166456; x=1767771256; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Y2PnYPaVgv2a3r54rqJcVWPwTLSu9JeG2yAlY2Q9p00=; b=CU5j/ShBCvIpqbDN6fDqitr6UM3Sff04GunJ3GtPVZSuztRMM1apj7rAmDQTa9G0rB 9W/eqCcLdElkOgB4fMovWPJB0TPRU+Pqpis2EJXziCDlx3YgO1HJf2szMWdA5Fjqqdrd 407xkFXbLw8svD8HYFYsAVFkxjfbQqDwSZZwU0wr/6PBGvQ1r31c2tWaiwJmmUgi+Dw9 r7lrTlVZQ9wL9fE1KsiknFQEmVEQKUbV0JfT51F+TgTIaHVg0Fw0BB1Fo5vGHc7rxn9e 1ISaN7LOoy6IT69aaGUzG2X0DZhmhsU+c9SSCyyYULNKdQfM7u/i+55nMKIbPYR+ARJs xMsA== X-Gm-Message-State: AOJu0YxhiAhfgPwznap31P38Di3CgDGIuFF7Cs4kvXJgeWaHydPetBJK nYKbOmZQOfSAswDZ7p1E0Plya3GEv2XqLSKIA7CNf+2YEIMshby2yow4nsyj9Ko7KUuRA4aHlAG 9VnUu X-Gm-Gg: AY/fxX6//gUKXnG22SPGfFO8nRgVH7V/E5R2iYRm6eot/6vQzd7Y3DcAb4wKQwfOY8T EP21HYzJup55KSKNEycleGqj74d3uLO8Qnu9SGVnTD8OChK/XSAn9BL+wKPHAwyDYfatEq8AH5O nWs/Cs5ElzXCH3KZd8OYZGy0T3b+Y/sbItlExwa+urR3U/Og9leQ5J0oqHb69zB1USI1W1Re9e4 jX1WpmANn1D977XD1M3zopu9P1o0RP3EcSKqxRwnjmzKMJQcnsNPvz9DL1iIwFtYVUoMrFa/4hR TY36PIJ56lCnSviAE6fwEcDhI3GqhtYpLCPjMS+hRkb1Y1Lw+3MINc4JUIaRAaJnD597D12l8WE KMk1w44/lIrqYiv2R9EGUCYFTFrBMaYLfiVHDubC7FsjAYfqBOzfyf3aGOUjDTHyl19Rmrejill vqXjDhclqJG2CiV7VqkPmDyb8tvxgTczh8vCfHBCQx07Zt3MpM6JFWNYyL3TAa8LTk X-Google-Smtp-Source: AGHT+IG1zw879eV3BZT6wwOppd1KaTa9TNPlq5AXWmRT5G2wTOh/MF/6s/t1RWVHWBLRo7wrooA0Hg== X-Received: by 2002:a05:6a00:1ca2:b0:7f6:6011:b106 with SMTP id d2e1a72fcca58-7ff648e611emr32135633b3a.19.1767166455469; Tue, 30 Dec 2025 23:34:15 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 06/11] include: qemu/coroutine.h -> qemu/qemu-coroutine.h Date: Tue, 30 Dec 2025 23:33:56 -0800 Message-ID: <20251231073401.2097765-7-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166477676158500 Content-Type: text/plain; charset="utf-8" This header conflicts with C++ coroutine header. Signed-off-by: Pierrick Bouvier --- block/parallels.h | 2 +- block/qcow2.h | 2 +- fsdev/qemu-fsdev-throttle.h | 2 +- hw/9pfs/9p.h | 2 +- include/block/block-global-state.h | 2 +- include/block/block-hmp-cmds.h | 2 +- include/block/block-io.h | 2 +- include/block/reqlist.h | 2 +- include/block/throttle-groups.h | 2 +- include/qemu/coroutine_int.h | 2 +- include/qemu/job.h | 2 +- include/qemu/{coroutine.h =3D> qemu-coroutine.h} | 0 migration/migration.h | 2 +- ui/console-priv.h | 2 +- block.c | 2 +- block/block-copy.c | 2 +- block/io_uring.c | 2 +- block/linux-aio.c | 2 +- block/mirror.c | 2 +- block/progress_meter.c | 2 +- block/vdi.c | 2 +- chardev/char.c | 2 +- hw/9pfs/coth.c | 2 +- hw/block/virtio-blk.c | 2 +- migration/rdma.c | 2 +- nbd/client-connection.c | 2 +- net/colo-compare.c | 2 +- qapi/qmp-dispatch.c | 2 +- tests/unit/test-aio-multithread.c | 2 +- ui/console.c | 2 +- ui/ui-qmp-cmds.c | 2 +- util/qemu-co-shared-resource.c | 2 +- util/qemu-co-timeout.c | 2 +- util/qemu-coroutine-io.c | 2 +- util/thread-pool.c | 2 +- 35 files changed, 34 insertions(+), 34 deletions(-) rename include/qemu/{coroutine.h =3D> qemu-coroutine.h} (100%) diff --git a/block/parallels.h b/block/parallels.h index 423b2ad7271..7836b68d491 100644 --- a/block/parallels.h +++ b/block/parallels.h @@ -31,7 +31,7 @@ */ #ifndef BLOCK_PARALLELS_H #define BLOCK_PARALLELS_H -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 #define HEADS_NUMBER 16 #define SEC_IN_CYL 32 diff --git a/block/qcow2.h b/block/qcow2.h index 96db7c51ec2..f139d64659f 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -26,7 +26,7 @@ #define BLOCK_QCOW2_H =20 #include "crypto/block.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/units.h" #include "block/block_int.h" =20 diff --git a/fsdev/qemu-fsdev-throttle.h b/fsdev/qemu-fsdev-throttle.h index a1dc0307903..6e54991deba 100644 --- a/fsdev/qemu-fsdev-throttle.h +++ b/fsdev/qemu-fsdev-throttle.h @@ -15,7 +15,7 @@ #ifndef QEMU_FSDEV_THROTTLE_H #define QEMU_FSDEV_THROTTLE_H =20 -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/throttle.h" =20 typedef struct FsThrottle { diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 65cc45e344f..d380d8bec62 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -7,7 +7,7 @@ #include "fsdev/file-op-9p.h" #include "fsdev/9p-iov-marshal.h" #include "qemu/thread.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/qht.h" =20 enum { diff --git a/include/block/block-global-state.h b/include/block/block-globa= l-state.h index ed89999f0fb..70c6c91d275 100644 --- a/include/block/block-global-state.h +++ b/include/block/block-global-state.h @@ -27,7 +27,7 @@ #include "qemu/aiocb.h" #include "block/graph-lock.h" #include "block/block-common.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/transactions.h" =20 /* diff --git a/include/block/block-hmp-cmds.h b/include/block/block-hmp-cmds.h index 71113cd7efa..72d0e8bdc37 100644 --- a/include/block/block-hmp-cmds.h +++ b/include/block/block-hmp-cmds.h @@ -15,7 +15,7 @@ #ifndef BLOCK_BLOCK_HMP_CMDS_H #define BLOCK_BLOCK_HMP_CMDS_H =20 -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 void hmp_drive_add(Monitor *mon, const QDict *qdict); =20 diff --git a/include/block/block-io.h b/include/block/block-io.h index d34d846bb2a..cd33872c26f 100644 --- a/include/block/block-io.h +++ b/include/block/block-io.h @@ -28,7 +28,7 @@ #include "qemu/aio-wait.h" #include "block/block-common.h" #include "block/graph-lock.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/iov.h" =20 /* diff --git a/include/block/reqlist.h b/include/block/reqlist.h index 5253497bae3..25b9329a0cd 100644 --- a/include/block/reqlist.h +++ b/include/block/reqlist.h @@ -15,7 +15,7 @@ #ifndef REQLIST_H #define REQLIST_H =20 -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 /* * The API is not thread-safe and shouldn't be. The struct is public to be= part diff --git a/include/block/throttle-groups.h b/include/block/throttle-group= s.h index 2355e8d9de6..f88160d0c5a 100644 --- a/include/block/throttle-groups.h +++ b/include/block/throttle-groups.h @@ -25,7 +25,7 @@ #ifndef THROTTLE_GROUPS_H #define THROTTLE_GROUPS_H =20 -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/throttle.h" #include "qom/object.h" =20 diff --git a/include/qemu/coroutine_int.h b/include/qemu/coroutine_int.h index 1da148552f7..a2985bb6e11 100644 --- a/include/qemu/coroutine_int.h +++ b/include/qemu/coroutine_int.h @@ -26,7 +26,7 @@ #define QEMU_COROUTINE_INT_H =20 #include "qemu/queue.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 #ifdef CONFIG_SAFESTACK /* Pointer to the unsafe stack, defined by the compiler */ diff --git a/include/qemu/job.h b/include/qemu/job.h index 0e40e8b4570..04ba53ac3b6 100644 --- a/include/qemu/job.h +++ b/include/qemu/job.h @@ -30,7 +30,7 @@ #include "qemu/aiocb.h" #include "qemu/queue.h" #include "qemu/progress_meter.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/aio.h" #include "block/graph-lock.h" =20 diff --git a/include/qemu/coroutine.h b/include/qemu/qemu-coroutine.h similarity index 100% rename from include/qemu/coroutine.h rename to include/qemu/qemu-coroutine.h diff --git a/migration/migration.h b/migration/migration.h index ccc4e536a57..ad3aad5b1a8 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -20,7 +20,7 @@ #include "qapi/qapi-types-migration.h" #include "qobject/json-writer.h" #include "qemu/thread.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "io/channel.h" #include "io/channel-buffer.h" #include "net/announce.h" diff --git a/ui/console-priv.h b/ui/console-priv.h index 43ceb8122f1..320ae93af18 100644 --- a/ui/console-priv.h +++ b/ui/console-priv.h @@ -6,7 +6,7 @@ #define CONSOLE_PRIV_H =20 #include "ui/console.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/timer.h" =20 #include "vgafont.h" diff --git a/block.c b/block.c index 48a17f393c5..d9b3dfa23fa 100644 --- a/block.c +++ b/block.c @@ -45,7 +45,7 @@ #include "system/block-backend.h" #include "qemu/notify.h" #include "qemu/option.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "block/qapi.h" #include "qemu/timer.h" #include "qemu/cutils.h" diff --git a/block/block-copy.c b/block/block-copy.c index 1826c2e1c7b..c800946efbb 100644 --- a/block/block-copy.c +++ b/block/block-copy.c @@ -23,7 +23,7 @@ #include "system/block-backend.h" #include "qemu/units.h" #include "qemu/co-shared-resource.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/ratelimit.h" #include "block/aio_task.h" #include "qemu/error-report.h" diff --git a/block/io_uring.c b/block/io_uring.c index cb131d3b8b5..940c1ca53b3 100644 --- a/block/io_uring.c +++ b/block/io_uring.c @@ -13,7 +13,7 @@ #include "qemu/aio.h" #include "block/block.h" #include "block/raw-aio.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "system/block-backend.h" #include "trace.h" =20 diff --git a/block/linux-aio.c b/block/linux-aio.c index 53c3e9af8ae..53831b17695 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -13,7 +13,7 @@ #include "block/block.h" #include "block/raw-aio.h" #include "qemu/event_notifier.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/defer-call.h" #include "qapi/error.h" #include "system/block-backend.h" diff --git a/block/mirror.c b/block/mirror.c index b344182c747..8de0a8dfc89 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -13,7 +13,7 @@ =20 #include "qemu/osdep.h" #include "qemu/cutils.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/range.h" #include "trace.h" #include "block/blockjob_int.h" diff --git a/block/progress_meter.c b/block/progress_meter.c index 31a170a2cd6..6ad9be5f83f 100644 --- a/block/progress_meter.c +++ b/block/progress_meter.c @@ -25,7 +25,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/progress_meter.h" =20 void progress_init(ProgressMeter *pm) diff --git a/block/vdi.c b/block/vdi.c index 87b874a7ef5..b42314e08ad 100644 --- a/block/vdi.c +++ b/block/vdi.c @@ -63,7 +63,7 @@ #include "qemu/option.h" #include "qemu/bswap.h" #include "migration/blocker.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/cutils.h" #include "qemu/uuid.h" #include "qemu/memalign.h" diff --git a/chardev/char.c b/chardev/char.c index 3e432195a5a..7ff440d884e 100644 --- a/chardev/char.c +++ b/chardev/char.c @@ -38,7 +38,7 @@ #include "qemu/module.h" #include "qemu/option.h" #include "qemu/id.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/yank.h" =20 #include "chardev-internal.h" diff --git a/hw/9pfs/coth.c b/hw/9pfs/coth.c index 598f46add99..eda52fe28f1 100644 --- a/hw/9pfs/coth.c +++ b/hw/9pfs/coth.c @@ -19,7 +19,7 @@ =20 #include "qemu/osdep.h" #include "block/thread-pool.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/main-loop.h" #include "coth.h" =20 diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index ddf0e9ee53e..07be8a3b387 100644 --- a/hw/block/virtio-blk.c +++ b/hw/block/virtio-blk.c @@ -36,7 +36,7 @@ #include "hw/virtio/iothread-vq-mapping.h" #include "hw/virtio/virtio-access.h" #include "hw/virtio/virtio-blk-common.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 static void virtio_blk_ioeventfd_attach(VirtIOBlock *s); =20 diff --git a/migration/rdma.c b/migration/rdma.c index 337b4158899..589048c6978 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -29,7 +29,7 @@ #include "qemu/rcu.h" #include "qemu/sockets.h" #include "qemu/bitmap.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "system/memory.h" #include #include diff --git a/nbd/client-connection.c b/nbd/client-connection.c index 79ea97e4cc1..22247b16c34 100644 --- a/nbd/client-connection.c +++ b/nbd/client-connection.c @@ -29,7 +29,7 @@ =20 #include "qapi/qapi-visit-sockets.h" #include "qapi/clone-visitor.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 #include "nbd/nbd-internal.h" =20 diff --git a/net/colo-compare.c b/net/colo-compare.c index c356419d6a8..4d308e777c8 100644 --- a/net/colo-compare.c +++ b/net/colo-compare.c @@ -31,7 +31,7 @@ #include "util.h" =20 #include "qemu/aio-wait.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" =20 #define TYPE_COLO_COMPARE "colo-compare" typedef struct CompareState CompareState; diff --git a/qapi/qmp-dispatch.c b/qapi/qmp-dispatch.c index 9bb1e6a9f4a..9df35654f27 100644 --- a/qapi/qmp-dispatch.c +++ b/qapi/qmp-dispatch.c @@ -22,7 +22,7 @@ #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" #include "qobject/qbool.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/main-loop.h" =20 Visitor *qobject_input_visitor_new_qmp(QObject *obj) diff --git a/tests/unit/test-aio-multithread.c b/tests/unit/test-aio-multit= hread.c index 9179cdc6a32..a6923a7f572 100644 --- a/tests/unit/test-aio-multithread.c +++ b/tests/unit/test-aio-multithread.c @@ -12,7 +12,7 @@ =20 #include "qemu/osdep.h" #include "qemu/aio.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/thread.h" #include "qemu/error-report.h" #include "iothread.h" diff --git a/ui/console.c b/ui/console.c index f445db11389..7556256ef04 100644 --- a/ui/console.c +++ b/ui/console.c @@ -28,7 +28,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-ui.h" #include "qapi/visitor.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h" diff --git a/ui/ui-qmp-cmds.c b/ui/ui-qmp-cmds.c index 74fa6c6ec5a..3be35797343 100644 --- a/ui/ui-qmp-cmds.c +++ b/ui/ui-qmp-cmds.c @@ -19,7 +19,7 @@ #include "monitor/qmp-helpers.h" #include "qapi/qapi-commands-ui.h" #include "qapi/qmp/qerror.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/cutils.h" #include "trace.h" #include "ui/console.h" diff --git a/util/qemu-co-shared-resource.c b/util/qemu-co-shared-resource.c index 752eb5a1c5f..52ce4414bfe 100644 --- a/util/qemu-co-shared-resource.c +++ b/util/qemu-co-shared-resource.c @@ -24,7 +24,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/co-shared-resource.h" =20 struct SharedResource { diff --git a/util/qemu-co-timeout.c b/util/qemu-co-timeout.c index 6774440b287..edc533ff7cf 100644 --- a/util/qemu-co-timeout.c +++ b/util/qemu-co-timeout.c @@ -24,7 +24,7 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/aio.h" =20 typedef struct QemuCoTimeoutState { diff --git a/util/qemu-coroutine-io.c b/util/qemu-coroutine-io.c index 364f4d5abf5..2d88458fadd 100644 --- a/util/qemu-coroutine-io.c +++ b/util/qemu-coroutine-io.c @@ -24,7 +24,7 @@ */ #include "qemu/osdep.h" #include "qemu/sockets.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "qemu/iov.h" #include "qemu/main-loop.h" =20 diff --git a/util/thread-pool.c b/util/thread-pool.c index 8f8cb38d5ce..d85b0b04293 100644 --- a/util/thread-pool.c +++ b/util/thread-pool.c @@ -19,7 +19,7 @@ #include "qemu/queue.h" #include "qemu/thread.h" #include "qemu/atomic.h" -#include "qemu/coroutine.h" +#include "qemu/qemu-coroutine.h" #include "trace.h" #include "block/thread-pool.h" #include "qemu/main-loop.h" --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166476; cv=none; d=zohomail.com; s=zohoarc; b=ejGEYnSc6lFYrbpBENZpDFYhJF3ycfuSdBwq7jwsSxF7ndX8zQVWkTsMIWGGwoheA80HlciRPS9llqNscVxT4DfepgAnZwOzxshKOZuV3uWuwiXstE1MJOmEA3aLI/ge/S9V2fHisZXr7NN2VL/9sirl/ThjOcf/vWt9QiTgkNM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166476; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=hEuXeMxUY2fbqtX5Go3U2puCz5D9qPiuyxDQLIxHFpQ=; b=EDu1F4cNCvQDGE9zBghbrOciyU4tdA9CSrxNoKZg9pjrqpik89MCXd3GQ7/17T2aHKfj1RMzxXCRCnoHfWTGJqdKsRVcfNXKiIQQlMQ/f6TXxxTyN9gHSvt8FNjnaIx4Cn/Gw7ZKvPABwcw7UIgrf/gHSIMJRQYSKRQst4if2jw= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166476425109.36852834313095; Tue, 30 Dec 2025 23:34:36 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqiq-0007aH-TC; Wed, 31 Dec 2025 02:34:20 -0500 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 1vaqip-0007Vj-6B for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:19 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqin-0001BG-Jm for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:18 -0500 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7b9387df58cso17030852b3a.3 for ; Tue, 30 Dec 2025 23:34:17 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166456; x=1767771256; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hEuXeMxUY2fbqtX5Go3U2puCz5D9qPiuyxDQLIxHFpQ=; b=PnkcJakcg+P5yNF1yvmCLMpN0z/ZGiZKAGO8KDldMpX3l1z48InF7wfuV85tQ1/IpO vbv+ijyAYww3FaEBV17hwyahdSY1k98HizdhQu+DBe+hrOb9dNIQAZZuSyoyJZm21jJI ayvUXDHdMPB9FGEvIWXhlAfuCyalGGJkgfyfMOfuId6G1S8z2ELs2AmL8JAtV/Xv2XY3 5+Nzpan7Y+eG4ZI67gM8OWu8uvIQqVUJRqWZQeuCMJ6y0EaGnWS1fQ0bRHsdmK1mhvJo aG0BVlWSr/x20fLH4alWJ29wkMkN0oYAqCKoYBgJROfKooFOrlqqLDz3TCuISyOSNG2a Ig7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166456; x=1767771256; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hEuXeMxUY2fbqtX5Go3U2puCz5D9qPiuyxDQLIxHFpQ=; b=VJ9w/pLtJUsHPlxSjBLDgTfZPrsOI6yWf+IyWY1YPtMdM9ZCPP4rhDpkKCYvte7Gfc 85DEt4BhkDb3RDNX9ZSxxlAuOCXBWAJQjUVOoQFivgbkNsy5GumeLFAi5e8OR5Y+y3SM OfI56y6bQ1tXG0KT/4JhSmOrrUkeKDIOpIBqX1QKIIe9ncDETrMwRoqDVcZCPnuTwKj+ Kn7WWV79mt98892fqiFR8JG6zQbkLGBXI/JN3IrqklnDXAC7SsIthMzsx1QjJl3XEtRH HuE2QngZ77VliJiTYKWm+s/sgPssdqsmL8TEVsFOeAZhVtKnpC9e/2RJGWSAqg/a8+lH H4Ig== X-Gm-Message-State: AOJu0YyJoDl5FvFDyzSdKaqJpMDojU6eFjbrX1qRYqiB1iv8eVPCDDIl 0M3/cL2yvuyDUJIshXAT3/rvkgO1M1bT/uv0NuthpJE4wwX4QPYWKmjU/lVhbeqr8LaG86AqT6W 1yJ6x X-Gm-Gg: AY/fxX7vIBBQUsWoXWIPkU/yYEDbTB+/NkMHx9/ZaDaTICNYItu8H1mKIepzVBvvwyG Yxr0HL09g4R6IOepS0HS9zGhsoIeGlNCJYNxE5hZ7usCSnNeZBraS95+r/E11NiUte1xUL866Gh fxbJ36Rg+9NlJblQeb6lntcTBXWduTbJ3LGM9lOTotT67AJCXShcQm1ZD09dhW/MMj/ONgP6KdH M8yq7ixWnAhSXGMRMxY77+vDoVo7G5tkbihuTWh5F05hZ308RLnK2DGSDrepmTOKfas3QvDFa9T IYq7tCVFzEpQUUu3j5f5dK5rv2Vg8VlMt1WpWALd5T4L0EniZpVlkgmCHjVf02C9KTYWuP5BVAx +ms6Xw7qatKcGslnhFgkUtCOZcqrxWNDQBlW594NoHvqlYkiw0INmxg/wizLHugDYvqA/dAsucw qOlZmprrt5N8hh0fTpDOxFJ4MMYv7EvHI+sf+ysb5xeYSipPUfPjMvW642u6++spRd X-Google-Smtp-Source: AGHT+IGWX0PMjQd/uxeRh+Bar4NH23zZG2vHB6LbYnvIJPdCnBjHAHaa1DWfa+mTO0ciW5O3AbUG7w== X-Received: by 2002:a05:6a00:bc90:b0:7e8:450c:61ad with SMTP id d2e1a72fcca58-7ff67063905mr33870211b3a.68.1767166456291; Tue, 30 Dec 2025 23:34:16 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 07/11] meson: fix supported compiler arguments in other languages than C Date: Tue, 30 Dec 2025 23:33:57 -0800 Message-ID: <20251231073401.2097765-8-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166477524158500 Content-Type: text/plain; charset="utf-8" qemu_common_flags are only checked for c compiler, even though they are applied to c++ and objc. This is a problem when C compiler is gcc, and C++ compiler is clang, creating a possible mismatch. One concrete example is option -fzero-call-used-regs=3Dused-gpr with ubuntu2204 container, which is supported by gcc, but not by clang, thus leading to a failure when compiling a C++ TCG plugin. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 3d6c6c702d0..c7042413f20 100644 --- a/meson.build +++ b/meson.build @@ -709,10 +709,7 @@ if cc.compiles('extern struct { void (*cb)(void); } s;= void f(void) { s.cb(); }' hardening_flags +=3D '-fzero-call-used-regs=3Dused-gpr' endif =20 -qemu_common_flags +=3D cc.get_supported_arguments(hardening_flags) - -add_global_arguments(qemu_common_flags, native: false, language: all_langu= ages) -add_global_link_arguments(qemu_ldflags, native: false, language: all_langu= ages) +qemu_common_flags +=3D hardening_flags =20 # Collect warning flags we want to set, sorted alphabetically warn_flags =3D [ @@ -771,15 +768,19 @@ if 'cpp' in all_languages qemu_cxxflags =3D ['-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', = '-D__STDC_FORMAT_MACROS'] + qemu_cflags endif =20 -add_project_arguments(qemu_cflags, native: false, language: 'c') -add_project_arguments(cc.get_supported_arguments(warn_flags), native: fals= e, language: 'c') +add_project_arguments(cc.get_supported_arguments(qemu_common_flags + qemu_= cflags + warn_flags), + native: false, language: 'c') +add_global_link_arguments(qemu_ldflags, native: false, language: all_langu= ages) + if 'cpp' in all_languages - add_project_arguments(qemu_cxxflags, native: false, language: 'cpp') + add_project_arguments(cxx.get_supported_arguments(qemu_common_flags + qe= mu_cxxflags), + native: false, language: 'cpp') add_project_arguments(cxx.get_supported_arguments(warn_flags), native: f= alse, language: 'cpp') endif if 'objc' in all_languages # Note sanitizer flags are not applied to Objective-C sources! - add_project_arguments(objc.get_supported_arguments(warn_flags), native: = false, language: 'objc') + add_project_arguments(objc.get_supported_arguments(qemu_common_flags + w= arn_flags), + native: false, language: 'objc') endif if host_os =3D=3D 'linux' add_project_arguments('-isystem', meson.current_source_dir() / 'linux-he= aders', --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166475; cv=none; d=zohomail.com; s=zohoarc; b=k4Y5+egDWx0lF9CfVn6YSPb+/7L1i5z5YBJa/j7Xdvj0kWgsW3+KBpSg2nGsYo5HinvoggzC1zaf0wJPogKUWtW145C7kB7hTL8ojfzr9P0jE06qLbqE0canNhvfT8SWrionSWbAUdbETFuVnJ7cgeG1kcnbXWKQCwlU5K3Xav8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166475; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=evdd5T/Fi2dYyHzRsiaIO9JAH5fYrMEkDtHE8uL2Oz4=; b=SZTT0tR8FaOI/1YQz/SfV/R7KRgBCawsESQAxZnMXtYwk4XCiEddZPt2x0jIfCQipS5JErsjStHXIdgvePM8OQbFksGJERHHemimC8n/CNhaiSJqDBJbL5ulw/riGZrr1fhXRaF79jYxZCaMI2GKZO8IAcKrEV41svjWzTBdSj0= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166474926755.4055416977224; Tue, 30 Dec 2025 23:34:34 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqir-0007cp-SX; Wed, 31 Dec 2025 02:34:21 -0500 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 1vaqiq-0007Zr-CQ for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:20 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqio-0001BZ-Mi for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:20 -0500 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-7b9387df58cso17030864b3a.3 for ; Tue, 30 Dec 2025 23:34:18 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166457; x=1767771257; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=evdd5T/Fi2dYyHzRsiaIO9JAH5fYrMEkDtHE8uL2Oz4=; b=ws1zR1a3oYtnkn2lgq7pE/mp7z/pWyVSba3h0KMRGK/+GGjdri4uz3Y9nDFt+FVX86 0JaV7o1ojfgLorHXPD83ipvUuSrxoBE/3/kJILDifJHaruw3G7dwTm8JQEspif/Ckjef +c5oIZdPsho7Wyn3eTrNFZyfunSucQin5FvVodqwMqiS6LclX7TV4JdMS3+AdOXo8vXZ 1KA4S2oIlieNeUkKEDyz1Gl8DibtoJN8HFimem36aLcW+MoOZ7c0kSz4gg+vehsBqf7j PcNXgs5dwduzWmFVJ4zAACe7JR779NssVYlUx0FvP/IMQhOE8Z+KmYKqSAsJFpRkNJWd 287A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166457; x=1767771257; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=evdd5T/Fi2dYyHzRsiaIO9JAH5fYrMEkDtHE8uL2Oz4=; b=W4H7OMgotWLPlehjkk5zoL906JKVzXOAU0tC5MUUfUEAqN6b9C2vf1IBURM1Mth2Uy 6WYGEi8vVklmc8nzuDWVxU3VO5c2+RjpGMlhHsCYAw2WWVgjCXvi7ydkaFAdJYAYhFN6 ZPGxabAmUSWAmQ2jD+q2GjMb5ygQj7EcPqQrB5t/0EkZtpHRjB+N+YD2llz2tOaznZ1M kBjLOIV7vh+N+vzShWfi9tJffyZBmK3yHOXLt80J/Xo/YhLXK6JpW/oyodH6PkmkdK9b x7C4B1NhuAj8UcS75O7/8uMYqcEVer75lWr5uCSFfGmQGeSgOnlNMRCAEgPY9QAlvpG1 UR6A== X-Gm-Message-State: AOJu0YyK4+YDZhPovavUkMmamyVElE/E1b+4HJlFCjqLUTrZZSc9HhoQ fttQ+IyEE50OKRKyQXQ8zRyaz4aMrHI3bVH3VbIkr85lQmVLflZ7SDJZz6eeyx65r3FDImQOTr+ Su21e X-Gm-Gg: AY/fxX49zDCdDr4iWVLsBmJsyeBK4qqCP4FYKok2MvKCWnkiDBsWPTWMvE901c1VZxx prIW7YfLYHwwWuA12cVLR2tlZwexhsUvzot+4X6ouuymIMF3yk9IzpJw5Ax7LzewErIwe6YdYh3 rfay7oxkdTNIcw6mGK7Yu9piBxh1ipaDP7BSINZDpLtr+wt8JMf2iQiEDfJUEq3gQOfnjEpm/WV Ika5lab/52JhL4Dc7mKUS2ydVlHglNbSlC87fckUaoeB8RaecyN7ikX7kqKdDbOTVi88zvXtaWr 8Gya9i6GY5OGlvu7RcfsEXdtzTUpo7e9vdka38bc+R9uAwOD+wVjlOJ87wEmXwT4rN/x8FiBg4R gUasF/QLVnPSEj3kU7Kv+drcmzJ2uGL+CTjbB4+n4is6SAavehE5TzzXSY7gpoBV8Fpy5cf6DpS /vAOqNw1xvvVKkp/+YTw3h+nocTmtOYE06tVkRT7PPHYD6eqX5RB/N4mduLnlrX99u X-Google-Smtp-Source: AGHT+IFhgxIvjfmVqnKGy44nbXLWF9bkygTYFJe0DKwj/i2/3UY7LAzVxm8YInrwAC1ihJK7sAA39A== X-Received: by 2002:a05:6a00:302a:b0:7b7:79ca:9a73 with SMTP id d2e1a72fcca58-7ff646f9664mr34651092b3a.10.1767166457155; Tue, 30 Dec 2025 23:34:17 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 08/11] meson: enable cpp (optionally) for plugins Date: Tue, 30 Dec 2025 23:33:58 -0800 Message-ID: <20251231073401.2097765-9-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166477470158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c7042413f20..ecfacaf2ac1 100644 --- a/meson.build +++ b/meson.build @@ -77,7 +77,8 @@ python =3D import('python').find_installation() =20 cc =3D meson.get_compiler('c') all_languages =3D ['c'] -if host_os =3D=3D 'windows' and add_languages('cpp', required: false, nati= ve: false) +enable_cpp =3D host_os =3D=3D 'windows' or get_option('plugins') +if enable_cpp and add_languages('cpp', required: false, native: false) all_languages +=3D ['cpp'] cxx =3D meson.get_compiler('cpp') endif --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166537; cv=none; d=zohomail.com; s=zohoarc; b=C0zDS96Dp7YCYn9ENse9x2HgASUEOOEJiYP+RU+bJGEl+bjyOibcJcPcjQvCJm+KAMUOLNMG+0i8Xaf+rm31hcQyFHNui5DyZvJCNYNzyP1400J1XD5ArH/ZtOxnJzmka5SpurGXHGrYxzengpJ1svryFvJLdRWYBuKbEbdG9cQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166537; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4pu2TYG/+F91diJrA2qUvqaX2TgetOgZbJlelL7PNoU=; b=bkX5ybVEO9XMX8i/EBWSa68hDlmbWpR25W1QydjVny6W9iE0a2weVSzmCHIwxl9d9Fz/c3OXSS3nPSefnVlNn65ewvvFJf7OUIxDnNW4cTzboTdteJAVkeM1v4CpbX+8lFBwuLrEC+Q06DofiI8BHECxFxmRYm8gsIdYgbGUI6E= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166537821303.703252705796; Tue, 30 Dec 2025 23:35:37 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqit-0007eH-Ib; Wed, 31 Dec 2025 02:34:23 -0500 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 1vaqis-0007d0-5C for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:22 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqip-0001Bl-I3 for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:21 -0500 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-7bab7c997eeso12528001b3a.0 for ; Tue, 30 Dec 2025 23:34:19 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166458; x=1767771258; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4pu2TYG/+F91diJrA2qUvqaX2TgetOgZbJlelL7PNoU=; b=g6sTaYOeBZQxsRFtilZMkS24g6S8XFxu+4/Eq0Vv65QAK882ItxO6Gqz/M1oJhqpho LSHJTaIK65xOlXIjisz2zshJ1LvXeTK4Ia8nQgykrKO+MFUl7+lh4HFPzAznuHYUHDPe PUo8fgN1Km4Syz0V5KVm4DZ678Upj85Z1nonjjWbJIDI549IrPuIRFhT7xkRtkY5IGcZ DLLxP8gEoKVbpgj9skh6MGemGf8+Y6UmOL3iip9tIvkRj3JxcUPKdth8DeBUFNEn4Fs5 x/DR9GxoNuKvab2+IQIEjMV1rpRJ1/PaNqdD3hQM/T1EdO0zuwxKUZhM7IrH29fGyhd5 b8ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166458; x=1767771258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4pu2TYG/+F91diJrA2qUvqaX2TgetOgZbJlelL7PNoU=; b=dPhjlwMjemgQWQbmqckeDzMs0J4x5ip2MSWDxV73seGDZhGX+osW9wD1tCt1CmD2/N YzhmWgDj8k+u5jjpmfPSIdEDRcY1sJ8VKjnrZcg8YCsnf0X3ktF4xCL4tZr0fbEYZxqi YHJKDqA42CVRY9Rcb9BqvBN1IFOkyRj/GYTVxqUzgUGOwNrbz4Crdiy6IqfaFS6XGBhV zw+VVnXmyAwWx8pnu1+Nonb8ebAY0y2cfZJOhYWZ4vSCZmK1kDxpItCl5QO9QJQolxTE i49LgvIp2pp33vfuEUiLDGOaVbNyqIz77CL34YfW2uqqutoTe1iW6yQ4J/0bxF2DVSyo Cevg== X-Gm-Message-State: AOJu0Yypq8svIfv1pwujKFAWozmJsgzxetdOVdO1sMNbPIf0ZdoR3Ent bk9CzM6yEwKQ1mYuiTGpmhAgIOniPl6FxMIl/esnSuU9w072u0jJyglexeQSoAmA+K18BHG/pDH rR6zu X-Gm-Gg: AY/fxX5teDZ4omYt7gSRZD2sq/2Ly5OcEG5C3BJ/iv6FQcNnnU/VxC34114vxHxrKiH hmuKzSB4lUUnteYNPssmfogh/OdDfDdHJpMiI77TC+WPbw0tCx2ufyJmaaQfiVm6bG6FdQo+NOC vzMtwaPcNg3WKaQUBkxUEBJmrTnQqvuSWoLFS3X2DHe7EQ538CW2mFUanLGTnQw/f6agHD0Zvu8 bsJfJOEkWJhOaahK6/CvQHXUKQZNoltIUKcre5zLIv56PZHNSqkfu2MTr3gCHllMTYyFxnaWUJ9 k5R8U+xa4QYPPHCMbUIcNtxOV5RDL1J9nylVbYzWQZV4YrGL59Z+TkDtTr2rkXr7ymq0sBZ0ZmU LM2cSFYsFWW8djNfQ4ZuFDykvYuX31jYR90a4E068re7siSGyvKThABjy+CeHv5rxSDgmAFcCEJ ygIMYvvsD0PmhJ9cR6oZZRtU4e3VR58FiBJ2Fdbjowt9Y6Zt+uuqc3Lll6u7/4MxaS X-Google-Smtp-Source: AGHT+IE7PO8Dw38NSjBDK0GezpRbjNyt552i3Ha5VVy/uzXzBAr8IZZTHZhE435Ly19qsIlyhxA2gA== X-Received: by 2002:a05:6a00:8017:b0:7e8:4471:ae68 with SMTP id d2e1a72fcca58-7ff67966c94mr28142616b3a.52.1767166457968; Tue, 30 Dec 2025 23:34:17 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 09/11] qga/vss-win32: fix clang warning with C++20 Date: Tue, 30 Dec 2025 23:33:59 -0800 Message-ID: <20251231073401.2097765-10-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::431; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166539790158500 Content-Type: text/plain; charset="utf-8" C++20 deprecated such constructs. ../qga/vss-win32/requester.cpp:380:32: error: bitwise operation between dif= ferent enumeration types ('_VSS_SNAPSHOT_CONTEXT' and '_VSS_VOLUME_SNAPSHOT= _ATTRIBUTES') is deprecated [-Werror,-Wdeprecated-enum-enum-conversion] 380 | ctx =3D VSS_CTX_APP_ROLLBACK | VSS_VOLSNAP_ATTR_TRANSPORTABLE | This is a false positive, since VSS_CTX_APP_ROLLBACK is not a value defined in _VSS_VOLUME_SNAPSHOT_ATTRIBUTES enum. Signed-off-by: Pierrick Bouvier --- qga/vss-win32/requester.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qga/vss-win32/requester.cpp b/qga/vss-win32/requester.cpp index 5615955b6f3..74489fcd0ae 100644 --- a/qga/vss-win32/requester.cpp +++ b/qga/vss-win32/requester.cpp @@ -377,8 +377,10 @@ void requester_freeze(int *num_vols, void *mountpoints= , ErrorSet *errset) * To prevent the final commit (which requires to write to snapshots), * ATTR_NO_AUTORECOVERY and ATTR_TRANSPORTABLE are specified here. */ - ctx =3D VSS_CTX_APP_ROLLBACK | VSS_VOLSNAP_ATTR_TRANSPORTABLE | - VSS_VOLSNAP_ATTR_NO_AUTORECOVERY | VSS_VOLSNAP_ATTR_TXF_RECOVERY; + ctx =3D VSS_CTX_APP_ROLLBACK; + ctx |=3D VSS_VOLSNAP_ATTR_TRANSPORTABLE | + VSS_VOLSNAP_ATTR_NO_AUTORECOVERY | + VSS_VOLSNAP_ATTR_TXF_RECOVERY; hr =3D vss_ctx.pVssbc->SetContext(ctx); if (hr =3D=3D (HRESULT)VSS_E_UNSUPPORTED_CONTEXT) { /* Non-server version of Windows doesn't support ATTR_TRANSPORTABL= E */ --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166533; cv=none; d=zohomail.com; s=zohoarc; b=k8dlp2ndX5c4kuecz+iyjGuLz0xigV1o0AmfxwJzJRnBL0Wz/e6wfm+0NiFafmeUM1JSs8gXJfWWSn9WKeLMnW4Gtv+p9WAproBFH7p1cG7eVU0gMYIdfzsw3BmAKIH85E20ZJoMLgoyy/vcHultfCdi2SVQ4WzAibFm4K98WDk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166533; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=rO23KvY3ZrVbi2b5cSDac8dT1YRjqOhoYJTRDHAXekY=; b=nSd5loN3fS5oapGcLZarzxNbFs4ZQkXfchxkZPBM1iHFsMuE2Zsf53Q775pxGZE7R3ywUI7Nd6Bp5fj3uj9TvV63OFHx6SuqDdRFRUikNj7/VQiApv/GDnVZdenv7y8g/nCnYkvoTXl4ZkAvcvlv6yXMUB1+1vA/tKnxfft6NOU= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166533001426.3005974405023; Tue, 30 Dec 2025 23:35:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqiu-0007f7-It; Wed, 31 Dec 2025 02:34:24 -0500 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 1vaqis-0007dd-Lv for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:22 -0500 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqiq-0001Bx-9O for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:22 -0500 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7f1243792f2so7113024b3a.1 for ; Tue, 30 Dec 2025 23:34:19 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166459; x=1767771259; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rO23KvY3ZrVbi2b5cSDac8dT1YRjqOhoYJTRDHAXekY=; b=vQpjFrtMM8m4Tke1keuuCOOjSF/VQ7nVwrw0ruZxm2Z0wOLN2grbPCP/QMa3cGttbx F067Tf5m3SHExyXwmBY53e+tEYTBewTeSjPk8sB2A2fI3SufBZvHoxX1lK6eugoAqkBx 7nYy511ndYSk2E47DT3OMY7Nv6aIhJaYVAREzk+xIyqx6D1A9NiM6U7l9MyYF/NA1vfs 94/LjqMUVgihm77h47DxhfeXbhdNXzWRP/OeXCGFo3JsPhfUpitPtoeDveoCQ7RMm2V9 zs8RrG8sBL+K6FEFxCbzqwHSnfLHPkptkJBCKgXZ2vYGc7vmxckcjA/1hOTQkexOMQUt QFrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166459; x=1767771259; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rO23KvY3ZrVbi2b5cSDac8dT1YRjqOhoYJTRDHAXekY=; b=uw3fgud21Q85SHbDqhW8B0JfiCRAuLClOiWh4AUFIzHpATBA+ZE6pnD7amZ7/Cmpio FVYb1sS+7CWAJmqRYW7Q+1ozArOJIH+H/Pb094Af3zlRAxtN0aKWNjefIP0a7gOgByzp a+U46TVSqF8SM2g3Ri3JATskzjayAQ+IFvXySk6GKAQQaM2IGmqhbsyEKCLVkaK9fOjr LJ+BLjQmoHeoFWfNOvDigD0/yLMYsqz9kfsdZmpc2+YfXxWjVRq78ALKljEqWERrUKx6 QZY5y/j82ZnxA8IoKEsVtkTns90AxwQ94TiK44KkWmNhaGO0tAtHO5A0dfhWJYz61UDh oRmA== X-Gm-Message-State: AOJu0Yy4vntUF/D7O21zDDhxwgcy7ARVHVm8S+mF5uzS5oVMLli6wUWi rKZAeQ5j+huJHUlt2VZ9dubFe1SGkQR9KJJJosKFvuK8gxG6eL+RNKY3+GeSXHu1hgmVJSfXfz9 JaYhH X-Gm-Gg: AY/fxX7l2g1A0YVD1zDpoGVsWZOfRBoZDfXlTTp9N8Lw6q3fry2HTMa1UvAOXEJTYOG nqOPu20nVvz924LKH/lo/8jej+mgdw8mWC2+Ox8a6BULToG8eaQH7cC9dYlAkHk6+64/smz80LH e9ZQ7M6INMvU6PLaGUaMnZayy2nbMAKPqr0Whsm8V06RGqX7iowRibIE/LOIpE2m3ccAe+CE2t5 a7uu/2e+vEOcs/arBnYrfA5lLCBrTqOQeoM7J+LOfTjIQ+GcaR/P5GFFd7sB20Sp+nK+5igqlDh hYE6A4rDVkQQg/GOQgX1ob9VlwRmBPdni6mSJTJYCh1x8eFbdgzqKm1voukHcQQsJu1x2y1/TXY 7Rht1o+pcqqP1yDOjvcyhionpf9LhnR9s/BF3mgjzhlQwjD8cAQIZxlvmsirmHHXKahwD+posCH xdQJDieqeVfAX2kvkWdgDMGe4YrkWWbsIFcnqcyYz6h9+zXzGtOyokLOByUWbzKHyD3JPtlk0L/ /Q= X-Google-Smtp-Source: AGHT+IG81WyQV4MNKThQXUTvhZ/ftKq70Hk/74WLsNpUfidOzcL/nUAcG+RU9Keh2Weqhi4x+a+OAQ== X-Received: by 2002:a05:6a00:340b:b0:7e8:43f5:bd4b with SMTP id d2e1a72fcca58-7ff6725a0a3mr30429101b3a.55.1767166458703; Tue, 30 Dec 2025 23:34:18 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 10/11] meson: update C++ standard to C++23 Date: Tue, 30 Dec 2025 23:34:00 -0800 Message-ID: <20251231073401.2097765-11-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::42d; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166533691158500 Content-Type: text/plain; charset="utf-8" C++ is evolving faster than C, so it's useful to enable new standards, especially for standard library. Update to most recent standard available in our build environments. Signed-off-by: Pierrick Bouvier --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ecfacaf2ac1..9eaa7e2c8d4 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('qemu', ['c'], meson_version: '>=3D1.5.0', - default_options: ['warning_level=3D1', 'c_std=3Dgnu11', 'cpp_std= =3Dgnu++11', 'b_colorout=3Dauto', + default_options: ['warning_level=3D1', 'c_std=3Dgnu11', 'cpp_std= =3Dgnu++23', 'b_colorout=3Dauto', 'b_staticpic=3Dfalse', 'stdsplit=3Dfalse', 'opti= mization=3D2', 'b_pie=3Dtrue', 'rust_std=3D2021', 'build.rust_std=3D2021'], version: files('VERSION')) --=20 2.47.3 From nobody Wed Jan 7 09:30:05 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1767166485; cv=none; d=zohomail.com; s=zohoarc; b=ORVAQ2yCI2mQY2PMOTWpHe0b4zkoO+pgCh4NvnRV53tMv8iR8rEk16y/MOlNboEWadZtifTvrX5EEHmX8mK/aBowYLOLb5LeB1J4jv1Z9MNQi+qe2WfFNgS6o1VWHDfqVdAOZzcjqnoNQ5hQmpAqrMyE+FfG6+sis12RAmSFJ4Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767166485; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4+AxFbchQtu+7N2YMcrXUf/7RNfk/wHHqGPJI7NpXWg=; b=flkOXxxPKTjnQTGOF8PDrnqIbS1RxbWk2TppX0/EF5jtNALDuzlrTfRa5IbXEV+peaWiFDc9ial8zdxVCHOgUoaKLojwIa2KgfZSwsksCyLtBnViO0kZ8E2TFSbILnHpkcfpc+gdIgcepw3/c8ciWsepxzVBbeYUeokiEuwu7bA= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1767166485165352.25149307304616; Tue, 30 Dec 2025 23:34:45 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vaqiu-0007fI-V8; Wed, 31 Dec 2025 02:34:24 -0500 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 1vaqit-0007eI-M1 for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:23 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vaqir-0001CE-DO for qemu-devel@nongnu.org; Wed, 31 Dec 2025 02:34:23 -0500 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-7ba55660769so8241458b3a.1 for ; Tue, 30 Dec 2025 23:34:20 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48f3d7sm34597984b3a.51.2025.12.30.23.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 23:34:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767166460; x=1767771260; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4+AxFbchQtu+7N2YMcrXUf/7RNfk/wHHqGPJI7NpXWg=; b=nEr92oQXtE2daAJRi4cUbd3QD4RkOsumPW0EPQQSAvW84S803N81BjvxbCgyisjpgK TCk9I/QnxoglQhRaK40wuvxdJmlqe16dTKmu5xDSobwPyb9xRVArX7B7MUPeMBt9XDEy 2Z2AzHtRIuOMztmEXPJJ/gBvpepfdJoSl4V8PK2nl7uWt9ic24re6t4X5jcwAOWDPsi+ grAgTiTMotdN0U2u0gvp0oWMFOhM8WMiazc1WaljoWBSoQesl5jeLlM9kZ9CKdYDOKvJ 4+vGT/VvS2Ah0uLjifNxpKW4N+LzvA3jYq6XpcbDeazv3JnH7c2gB5KVMQnhEa+amMTH wlwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767166460; x=1767771260; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4+AxFbchQtu+7N2YMcrXUf/7RNfk/wHHqGPJI7NpXWg=; b=hhheUYgnc/RegVc/k+/HAv1yMRpCWlLadk383vkQioIsoTnCodSqCY39IqlZHwUids ShlpC4QZSOQGFApgAj5782svqgbHhNtcmPOB63ozW2WBH49ivAj6eJDXU3Gge8NhX5fT FEGtCIaIcb+rPnliOBBBuxClNsbEPfI+IeIn5q9w0NgPPLEZxt9y7IK6nI9cGA8JEcz2 cO9UBhiYF2KvchL1RukF1W4vqCcRUjATAixiAaEQo6ZBi+hOFLuJexSfIuEbHY47qofm N1nccdKAVpCV3VO3D6BEckwrFH3+c0ByjUm/pXwEWsTTdd6oWG2SwzYKM+mrL9yiKX+0 8tFw== X-Gm-Message-State: AOJu0YzIkyFs/d7xRVes83f6vTVQB8th8U38w37H8j7KGxHEz6APEFG5 q7Dfw4GizCf5BjFMbLTHaMcQK5d/+L57wCa2qNZrd3SU7cYa0bMMnKuAvbqh8o1h3j1AdmB/aHf nayK4 X-Gm-Gg: AY/fxX7KqpGX7m78PHkeoe4Mnfbyz5mg3tTUFrw8qyn+UZ6K2IOA8vaqI84q75jE/p7 p0PCYzvmTneNxkcAKeqQya76zA0z1tyjnX0GgDZRtjaIz4pIwRUsgZbyPAWNk0+VjUdzHdU7+tk uC5ELcoT9C5sJEjscTHvdRH4mhbYyR8JqgcBX4IAtdc8y2ezTFiD/8udrSgJNnfvFQ/OlJbWScF QjZJD+i8RD9MMPqLj508LVS+4BWwWUknBcvJ7vE3TXBxb8d+Y8fxfGLX2vHXu7FiGQMkOG+pGac rT98bXCGNNlmPHNuZ6t1RDpUqStceemmFuX5icET3Etzt2TVy+ZitJ7kJsFoCjHtOYp85++fk5R yA5tJbbdefKCPwhIwfXahoAau6OoIj8CVxeQCGI/g2nGl3A5Cvcq07BnZANvCpNLRRe/T/RsDCM axpXkznmcFHycw/mADdqD5n0dqhBHDFk7EhW2e2i6YoKyy1vX91HewGa4XQSuZMUaS X-Google-Smtp-Source: AGHT+IGg5UJc0A/y9zYSpRzeW8pcLR7j+AdujAa4Cmir2i7yTsLcAC8ERQF67ckJV7TtFCUTdAt02g== X-Received: by 2002:a05:6a00:228a:b0:7ff:acc0:869f with SMTP id d2e1a72fcca58-7ffacc0879bmr30377724b3a.3.1767166459875; Tue, 30 Dec 2025 23:34:19 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Phil=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gustavo Bueno Romero , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Manos Pitsidianakis , Paolo Bonzini , Richard Henderson , Pierrick Bouvier Subject: [PATCH 11/11] contrib/plugins: add empty cpp plugin Date: Tue, 30 Dec 2025 23:34:01 -0800 Message-ID: <20251231073401.2097765-12-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> References: <20251231073401.2097765-1-pierrick.bouvier@linaro.org> 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 (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=2607:f8b0:4864:20::42c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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 @linaro.org) X-ZM-MESSAGEID: 1767166487695158500 Content-Type: text/plain; charset="utf-8" This plugin makes sure we can compile in C++ while including qemu-plugin header. It includes all C++ standard headers, up to C++23 standard, minus the ones that are missing in the oldest environments we need to build for. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- contrib/plugins/cpp.cpp | 119 ++++++++++++++++++++++++++++++++++++ contrib/plugins/meson.build | 4 ++ 2 files changed, 123 insertions(+) create mode 100644 contrib/plugins/cpp.cpp diff --git a/contrib/plugins/cpp.cpp b/contrib/plugins/cpp.cpp new file mode 100644 index 00000000000..1ff54896d97 --- /dev/null +++ b/contrib/plugins/cpp.cpp @@ -0,0 +1,119 @@ +/* + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This C++ plugin ensures we don't have regression when compiling C++. + */ + +#include + +/* https://en.cppreference.com/w/cpp/headers.html */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QEMU_PLUGIN_EXPORT int qemu_plugin_version =3D QEMU_PLUGIN_VERSION; + +static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) +{ +} + +QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id, + const qemu_info_t *info, + int argc, char **argv) +{ + qemu_plugin_register_vcpu_tb_trans_cb(id, vcpu_tb_trans); + return 0; +} diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build index 3d2d7862e0c..53d52c97967 100644 --- a/contrib/plugins/meson.build +++ b/contrib/plugins/meson.build @@ -6,6 +6,10 @@ if host_os !=3D 'windows' contrib_plugins +=3D 'lockstep.c' endif =20 +if 'cpp' in all_languages + contrib_plugins +=3D 'cpp.cpp' +endif + t =3D [] if get_option('plugins') foreach i : contrib_plugins --=20 2.47.3