From nobody Mon Nov 17 08:41:21 2025 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=1732548456; cv=none; d=zohomail.com; s=zohoarc; b=H4S25B4Sv8iV+wmmZS3ZkI2a1HfMrTMljjTDjlr5kc1K/TGA/LY5hfWaPOKqAPlSLNN5IYSDsdRF+cMyXujs5TNihLfSEIyTkF8N26KG7d+xQ+HA1oLsRwlm1aVDXABOgQMaWNLjFjfP+zqunKgBS4PK5TMiyUl9pux8/vLBiew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1732548456; h=Content-Type: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=+4ComUgm0VsNi+m3XoSttwvHYd1J7DrWJSpG+S4G9WI=; b=Dz4L/rkv6hg/26cO+aCn7j/88f/ftbAgQ0nvQta37kj1cybzpnm4oKIzZ6HaZfN+7uJloRpP356YjjDudkUI+ONZWHSEQlNjUHTEsGrhoSUsTcTr/37xmRbH5tIgWu9emB4AGD3A5jCzE6ImJ1u8XRp8H3+s1em0HlmQle0pqu4= 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 1732548456667597.9939911310166; Mon, 25 Nov 2024 07:27:36 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFazA-0007ms-IQ; Mon, 25 Nov 2024 10:26:48 -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 1tFayp-000704-FR for qemu-devel@nongnu.org; Mon, 25 Nov 2024 10:26:27 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFaym-0002Yp-5x for qemu-devel@nongnu.org; Mon, 25 Nov 2024 10:26:27 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-434a2f3bae4so3267925e9.3 for ; Mon, 25 Nov 2024 07:26:20 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434a0c889c5sm26615595e9.2.2024.11.25.07.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 07:26:16 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id AE9F962644; Mon, 25 Nov 2024 15:21:07 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732548379; x=1733153179; 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=+4ComUgm0VsNi+m3XoSttwvHYd1J7DrWJSpG+S4G9WI=; b=B3YpDNlMGxd+8iyWODfOeyW4BiTsIh8KCx8Zm0CiBAgmCvVr2mrdhy0kj+guX87B+G Q4cMTRK3MB2UvL71puxy/6n5497NZU5nLXswdDmY73TobgWF2c0VrmJnzYZiuqdQ3Kpk Pegy9nHkZsHrSa4f/SuZbF/mHSvvvD9fgm5W8CAFpKogPZWoLN6D5LYkU4lGbO6nj1/8 0oCaRlm8Z0hOvEBAbvR05YBlBZIbHE4chHgReKp7iJ/wrkLgxPo1F3yRwJLnqdxWIxxW 9+iZQWiN/ZBcem4e391/WKiyxFnkBPdXmFUPGVCIzwJBpophDlnX6hTTm7K04wR2Vh8g TFDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732548379; x=1733153179; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+4ComUgm0VsNi+m3XoSttwvHYd1J7DrWJSpG+S4G9WI=; b=fW+JKPLK1Zm2ihmdCfkvquUMKrUazNoAnP/y8Ojnn0ibgzYE//76o1icaaCyzwmX/C F0Eo/Unt1x2zqvbTaORwW41obIeLvlkZeJCn/wmgEVlVroXdA6hu7/0jVcEKtC0TrH3X nAoIsNmTvfccQnMWq14TPo4R0hm67RRlT8sxh4rKDQBwEVbAGSyNRvDakUTA7mB20/EK tzndbKvW7r/KV1NI/Xrsjq1kq2wnXiQ7v4YC1KyRXtWEfK4vMJnv4smFYyi74u7GoBkh VQBKTCuoX0HjDMm2aj+JIhnbMep3Iua2EiJuB/TpsKLyN0Tua1DPbrX40XTjshBx5+Hq /swA== X-Gm-Message-State: AOJu0Yz8GKlXP5qIS8V0W6jSrfd7FVJAMe42TGWMzb1qxS730ktx7JJA TFe++7jU7+VVPyqIPQvvKsIEsPzYYMGCNz4F5k+Wp4F5IV9iFJJdtTUqlNvuHBw= X-Gm-Gg: ASbGncv42vppowTgHbvnRXdIVP6Y7Jx5YA22Di0x8Hh0b9qM5JMCPTT2BEEVxKzKXuK eR0EUGE+h273A/Ng66nXyXAhE8rCjp7n2xFjHzhUxwbaIQIVdKjxskS/v1dmW3V1HQTSdR8TObu eM8LoE/HJCmAh6yQpnrq2kJKUt+yx7pDzZANQERqP0FI7HMN3n4h1Bq1HOnw7dxfElAlPf7uvjS lq+YQEXPlA7Mmeadx+dvixnWnnt8Xa1mcSra31IF55aSxdH X-Google-Smtp-Source: AGHT+IH722bugulfuUBYdRcspq0o7wykmZNoQ3Pgu+dwnJDb6T6mtjejE09gTz9OyFxIeHpyLjBQlA== X-Received: by 2002:a7b:cc06:0:b0:431:59ab:15cf with SMTP id 5b1f17b1804b1-434891a1dc5mr97627645e9.19.1732548379059; Mon, 25 Nov 2024 07:26:19 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 21/28] plugins: add missing export for qemu_plugin_num_vcpus Date: Mon, 25 Nov 2024 15:20:58 +0000 Message-Id: <20241125152105.2100395-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241125152105.2100395-1-alex.bennee@linaro.org> References: <20241125152105.2100395-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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: 1732548458386019100 From: Pierrick Bouvier Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function") Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Pierrick Bouvier Message-Id: <20241112212622.3590693-2-pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson Signed-off-by: Alex Benn=C3=A9e Message-Id: <20241121165806.476008-36-alex.bennee@linaro.org> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 622c9a0232..0fba36ae02 100644 --- a/include/qemu/qemu-plugin.h +++ b/include/qemu/qemu-plugin.h @@ -803,6 +803,7 @@ void qemu_plugin_register_atexit_cb(qemu_plugin_id_t id, qemu_plugin_udata_cb_t cb, void *userd= ata); =20 /* returns how many vcpus were started at this point */ +QEMU_PLUGIN_API int qemu_plugin_num_vcpus(void); =20 /** --=20 2.39.5