From patchwork Tue Nov 12 21:26:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 842732 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp3797109wru; Tue, 12 Nov 2024 13:27:10 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXuA8rEhezIs1k4vWfuRU4wk7eKVj7405EgoSCz/5+og+iP/m3W2QX7zVKnhEXMuQC7DQ6Xiw==@linaro.org X-Google-Smtp-Source: AGHT+IEELYPM9KUBeqTz+Z9fCjgpa2f66p/j6YpgIZKaokzU9HzVXfjlbt0yV5QrnRQxWTi8u81+ X-Received: by 2002:a05:622a:388:b0:45d:5f8c:8280 with SMTP id d75a77b69052e-4634b538029mr8131831cf.35.1731446829741; Tue, 12 Nov 2024 13:27:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731446829; cv=none; d=google.com; s=arc-20240605; b=JzV+lTAEAOYnGFw+jzB90PQPSKqb7djyoZXdhHWv56sqqFN3HS6uW7T6l2fIteZObd CwdO3ApqG4mASO4KGg8S1yAEbCTwX+TrKhhg/RMPKSvI7spKsqN2Q7bJVnEP90B90Y+Y rQfd7A8y92T2p8OkqAtICrYErePmzKZFBLPUaN7WBAXAqEvQ1ZVvFnW7cSM3aArpv1eW l3cDEeFDWs7bTd+giOPMogj7qHlI0a4UsmWG7zmQ28shgB0+s62Qlts1uPwLIsgUR0o4 KMJtXEo3WyLQhRNP8Jz5cKz1F/5oRSjhYk+KTjLOJmhBvA0rL7mopKoWgHSzSc633qWh UvIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3jWErWBIj0F5t4NqhpwMkB48eX+pCqWPGB0s4Lu9mBc=; fh=aVWhm5VpoEE5wj/nuwR58PlkFRmLimwxkJm1Ojog5jA=; b=AeAowt4nk0FTbXmBJfUfSgX8/zitUWpmebUKdQ1J+0JjyliUg5+3ql/XBRXsuwMxLH c71yZvpP1im4H3TScyoZ/8W5pxTjn/ObeLpL4TjaYq6WShr0EP4f0zTOgDjTQsceSdBZ bA2VlZ0N+ujkEV93bvACtH/BYmcPxN27lZzf19jLpzzLizkRR95o78uIny72lXHlEgfN k9yqyRgchH0p+AG/sc0CJ+N4P9KqApLjJfPiZfD369xqLxFZhnE3hlfTP+VwAzBN3Afk GolTAI2CTb8S3ImLfLxz8yyR/zhVucsEOjmoqwWwIZQLdRCoF8m64xo/LOrowEv+kiMm WJqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xyp+MNUb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-462ff625bc2si133918821cf.479.2024.11.12.13.27.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Nov 2024 13:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xyp+MNUb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAyPS-0003iL-Aa; Tue, 12 Nov 2024 16:26:50 -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 1tAyPI-0003hG-Fz for qemu-devel@nongnu.org; Tue, 12 Nov 2024 16:26:43 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450: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 1tAyPG-0004St-Ce for qemu-devel@nongnu.org; Tue, 12 Nov 2024 16:26:40 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-37d533b5412so4239171f8f.2 for ; Tue, 12 Nov 2024 13:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731446794; x=1732051594; 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=3jWErWBIj0F5t4NqhpwMkB48eX+pCqWPGB0s4Lu9mBc=; b=xyp+MNUbwf9qXis9L0SSnmz1qwbY3IOTJn4Py1GVgdHojmvjkn9WpPLoKRQC35UN4n jIMZi/J6lV952Xe1cLxp27C4Plpl3138jCQHDtjgIxx5FUGJFc2/Qyax4YNK34tInJa2 O93ZC4L+/YlSKjlUSLYLUClb0Cdj4q7XJMuVzmfz8mXqAAQDaN04h5sc4L4SkYKZB7JT hj7E8pfUZbRc7lWutkQUCCTIzc17XP2X4ak2RkHLMeKOCfD0n5igFBUrFGAia83jykYP cze11qucYHQjaTFfT9+n7P/Kowo+qK111Dk9Tdqk7t5OZr4lLTopjH0cEbz/Y1X8/XvP IKlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731446794; x=1732051594; 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=3jWErWBIj0F5t4NqhpwMkB48eX+pCqWPGB0s4Lu9mBc=; b=vcEtaLydUXwM0iGWqZhElnRXRmTHmFrSPBiywnEAOQnVsjAjq+xG3iZtBQ0E9Wllea sV08nY2GavtgIAwYX+wjoHtvl6YJTXnAW4jNO+8mSsGFp/Lu2dNnXHXjDKQJbx8OxvgD 9RpmLQjI1Oed2Dp+OSZAewX25T8A2E0FK97id2PcSW56P7ztRMiYE1/Uc+jy42kShLqz IJbQ07fTKLrEx2eSg759EbVrjbzn5/CMNuJYAXrVZLR+9xBsydKqaxbTnPfBXkcCw3Oe XbMul6Swq3ISFqM/0UhcK+4zVZU5thDSzsGRrFC1A/gJNExq35l/NH7XHi7M2Q2YC+GL hb0Q== X-Gm-Message-State: AOJu0Yxc39YKXyJsHVzPjnHrGMs0tE4T/N1yXs5M4+D3t4qopLr9AlO5 9Us1So+3AdwScN0ODR7IHn9Vzahnqz+Vu8nSSLV2O0vrXjnKLP1t9ulaqm1ESumvP8fIIT2B4g9 1CY2XDA== X-Received: by 2002:a5d:6c64:0:b0:37d:528d:b8ad with SMTP id ffacd0b85a97d-381f1865423mr16586941f8f.6.1731446794352; Tue, 12 Nov 2024 13:26:34 -0800 (PST) Received: from linaro.. ([193.32.126.214]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed9ec202sm16613515f8f.83.2024.11.12.13.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 13:26:34 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Mahmoud Mandour , =?utf-8?q?Alex_Benn=C3=A9e?= , Alexandre Iooss , Cleber Rosa , John Snow , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v4 1/3] plugins: add missing export for qemu_plugin_num_vcpus Date: Tue, 12 Nov 2024 13:26:20 -0800 Message-Id: <20241112212622.3590693-2-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241112212622.3590693-1-pierrick.bouvier@linaro.org> References: <20241112212622.3590693-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-wr1-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Pierrick Bouvier --- include/qemu/qemu-plugin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 622c9a02327..0fba36ae028 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 *userdata); /* returns how many vcpus were started at this point */ +QEMU_PLUGIN_API int qemu_plugin_num_vcpus(void); /**