From: "Alex Bennée" <alex.bennee@linaro.org>
To: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Cc: qemu-devel@nongnu.org, "Mahmoud Mandour" <ma.mandourr@gmail.com>,
"Kostiantyn Kostiuk" <kkostiuk@redhat.com>,
"Phil Mathieu-Daudé" <philmd@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Gustavo Bueno Romero" <gustavo.romero@linaro.org>,
"Michael Roth" <michael.roth@amd.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Alexandre Iooss" <erdnaxe@crans.org>
Subject: Re: [PATCH v4 03/11] plugins: use complete filename for defining plugins sources
Date: Wed, 28 Jan 2026 11:11:41 +0000 [thread overview]
Message-ID: <87cy2uat5e.fsf@draig.linaro.org> (raw)
In-Reply-To: <20260124182921.531562-4-pierrick.bouvier@linaro.org> (Pierrick Bouvier's message of "Sat, 24 Jan 2026 10:29:13 -0800")
Pierrick Bouvier <pierrick.bouvier@linaro.org> writes:
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> ---
> contrib/plugins/meson.build | 10 +++++-----
> tests/tcg/plugins/meson.build | 7 +++++--
> 2 files changed, 10 insertions(+), 7 deletions(-)
>
> diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build
> index 6915ffa5fbc..3d2d7862e0c 100644
> --- a/contrib/plugins/meson.build
> +++ b/contrib/plugins/meson.build
> @@ -1,15 +1,15 @@
> -contrib_plugins = ['bbv', 'cache', 'cflow', 'drcov', 'execlog', 'hotblocks',
> - 'hotpages', 'howvec', 'hwprofile', 'ips', 'stoptrigger',
> - 'traps', 'uftrace']
> +contrib_plugins = ['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']
Argh this keeps conflicting with other changes. Maybe we should make
this a dumb list:
contrib_plugins = [ ]
contrib_plugins += 'bbv.c'
contrib_plugins += 'cache.c'
etc?
> if host_os != 'windows'
> # lockstep uses socket.h
> - contrib_plugins += 'lockstep'
> + contrib_plugins += 'lockstep.c'
> endif
>
> t = []
> if get_option('plugins')
> foreach i : contrib_plugins
> - t += shared_module(i, files(i + '.c'),
> + t += shared_module(fs.stem(i), files(i),
> dependencies: plugins_deps)
> endforeach
> endif
> diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build
> index d7823704616..303f97f9679 100644
> --- a/tests/tcg/plugins/meson.build
> +++ b/tests/tcg/plugins/meson.build
> @@ -1,7 +1,10 @@
> +test_plugins = ['bb.c', 'discons.c', 'empty.c', 'inline.c', 'insn.c', 'mem.c',
> + 'reset.c', 'syscall.c', 'patch.c']
> +
> t = []
> if get_option('plugins')
> - foreach i : ['bb', 'discons', 'empty', 'inline', 'insn', 'mem', 'reset', 'syscall', 'patch']
> - t += shared_module(i, files(i + '.c'),
> + foreach i : test_plugins
> + t += shared_module(fs.stem(i), files(i),
> dependencies: plugins_deps)
> endforeach
> endif
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-01-28 11:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-24 18:29 [PATCH v4 00/11] plugins: enable C++ plugins Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 01/11] plugins: move win32_linker.c file to plugins directory Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 02/11] plugins: factorize plugin dependencies and library details Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 03/11] plugins: use complete filename for defining plugins sources Pierrick Bouvier
2026-01-28 11:11 ` Alex Bennée [this message]
2026-01-28 15:47 ` Pierrick Bouvier
2026-01-28 17:05 ` Philippe Mathieu-Daudé
2026-01-28 17:25 ` Alex Bennée
2026-01-28 18:13 ` Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 04/11] plugins: define plugin API symbols as extern "C" when compiling in C++ Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 05/11] tests/tcg/plugins/mem.c: remove dependency on qemu headers Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 06/11] plugins: move qemu-plugin.h to include/plugins/ Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 07/11] meson: fix supported compiler arguments in other languages than C Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 08/11] meson: enable cpp (optionally) for plugins Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 09/11] qga/vss-win32: fix clang warning with C++20 Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 10/11] meson: update C++ standard to C++23 Pierrick Bouvier
2026-01-24 18:29 ` [PATCH v4 11/11] contrib/plugins: add empty cpp plugin Pierrick Bouvier
2026-02-02 5:28 ` [PATCH v4 00/11] plugins: enable C++ plugins Pierrick Bouvier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cy2uat5e.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=erdnaxe@crans.org \
--cc=gustavo.romero@linaro.org \
--cc=kkostiuk@redhat.com \
--cc=ma.mandourr@gmail.com \
--cc=manos.pitsidianakis@linaro.org \
--cc=marcandre.lureau@redhat.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.