From 926e146eff8d7b89754e8b681f80e962d220f077 Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Tue, 27 Feb 2024 14:43:21 +0000 Subject: plugins: remove previous n_vcpus functions from API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This information is already accessible using qemu_info_t during plugin install. We will introduce another function (qemu_plugin_num_vcpus) which represent how many cpus were enabled, by tracking new cpu indexes. It's a breaking change, so we bump API version. Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20240213094009.150349-2-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240227144335.1196131-16-alex.bennee@linaro.org> --- plugins/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/plugin.h') diff --git a/plugins/plugin.h b/plugins/plugin.h index 5eb2fdbc85..90f3f324ab 100644 --- a/plugins/plugin.h +++ b/plugins/plugin.h @@ -15,7 +15,7 @@ #include #include "qemu/qht.h" -#define QEMU_PLUGIN_MIN_VERSION 0 +#define QEMU_PLUGIN_MIN_VERSION 2 /* global state */ struct qemu_plugin_state { -- cgit 1.4.1