diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-03-04 22:24:28 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-03-10 10:30:01 +0000 |
commit | 1d9a9743589e3622a93a46b593820ffb22cbda1b (patch) | |
tree | 1449c3ea3e03d619fdd578412607f6f857303735 | |
parent | 9d06b0ccb1089f8713c4244109958bed8374ada4 (diff) | |
download | qemu-1d9a9743589e3622a93a46b593820ffb22cbda1b.zip qemu-1d9a9743589e3622a93a46b593820ffb22cbda1b.tar.gz qemu-1d9a9743589e3622a93a46b593820ffb22cbda1b.tar.bz2 |
plugins/loader: populate target_name with target_name()
We have a function we can call for this, lets not rely on macros that
stop us building once.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-22-alex.bennee@linaro.org>
-rw-r--r-- | plugins/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/loader.c b/plugins/loader.c index 99686b5..827473c 100644 --- a/plugins/loader.c +++ b/plugins/loader.c @@ -297,7 +297,7 @@ int qemu_plugin_load_list(QemuPluginList *head, Error **errp) struct qemu_plugin_desc *desc, *next; g_autofree qemu_info_t *info = g_new0(qemu_info_t, 1); - info->target_name = TARGET_NAME; + info->target_name = target_name(); info->version.min = QEMU_PLUGIN_MIN_VERSION; info->version.cur = QEMU_PLUGIN_VERSION; #ifndef CONFIG_USER_ONLY |