All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Cc: qemu-devel@nongnu.org,
	"Gustavo Bueno Romero" <gustavo.romero@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Phil Mathieu-Daudé" <philmd@linaro.org>,
	"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH v2 02/11] plugins: factorize plugin dependencies and library details
Date: Fri, 16 Jan 2026 12:22:43 +0000	[thread overview]
Message-ID: <aWotkyT7pmw3RKh8@redhat.com> (raw)
In-Reply-To: <20260102214724.4128196-3-pierrick.bouvier@linaro.org>

On Fri, Jan 02, 2026 at 01:47:15PM -0800, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> ---
>  meson.build                   |  2 +-
>  contrib/plugins/meson.build   | 13 ++-----------
>  plugins/meson.build           | 15 ++++++++++++++-
>  tests/tcg/plugins/meson.build | 13 ++-----------
>  4 files changed, 19 insertions(+), 24 deletions(-)
> 
> diff --git a/meson.build b/meson.build
> index db87358d62d..3d6c6c702d0 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -4499,7 +4499,7 @@ if get_option('plugins')
>    if host_os == 'windows'
>      # On windows, we want to deliver the qemu_plugin_api.lib file in the qemu installer,
>      # so that plugin authors can compile against it.
> -    install_data(win32_qemu_plugin_api_lib, install_dir: 'lib')
> +    install_data(win32_qemu_plugin_api, install_dir: 'lib')
>    endif
>  endif
>  
> diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build
> index 6f72b2ce0c9..8f9f0257ee5 100644
> --- a/contrib/plugins/meson.build
> +++ b/contrib/plugins/meson.build
> @@ -9,17 +9,8 @@ endif
>  t = []
>  if get_option('plugins')
>    foreach i : contrib_plugins
> -    if host_os == 'windows'
> -      t += shared_module(i, files(i + '.c') + '../../plugins/win32_linker.c',
> -                        include_directories: '../../include/qemu',
> -                        link_depends: [win32_qemu_plugin_api_lib],
> -                        link_args: win32_qemu_plugin_api_link_flags,
> -                        dependencies: glib)
> -    else
> -      t += shared_module(i, files(i + '.c'),
> -                        include_directories: '../../include/qemu',
> -                        dependencies: glib)
> -    endif
> +    t += shared_module(i, files(i + '.c'),
> +                      dependencies: plugins_deps)

Nit-pick - under-indented by 1 space. The orignal code had the
same bug, but lets not preserve it.


> diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build
> index a6e78438510..c58f2e382ae 100644
> --- a/tests/tcg/plugins/meson.build
> +++ b/tests/tcg/plugins/meson.build
> @@ -1,17 +1,8 @@
>  t = []
>  if get_option('plugins')
>    foreach i : ['bb', 'discons', 'empty', 'inline', 'insn', 'mem', 'reset', 'syscall', 'patch']
> -    if host_os == 'windows'
> -      t += shared_module(i, files(i + '.c') + '../../../plugins/win32_linker.c',
> -                        include_directories: '../../../include/qemu',
> -                        link_depends: [win32_qemu_plugin_api_lib],
> -                        link_args: win32_qemu_plugin_api_link_flags,
> -                        dependencies: glib)
> -    else
> -      t += shared_module(i, files(i + '.c'),
> -                        include_directories: '../../../include/qemu',
> -                        dependencies: glib)
> -    endif
> +    t += shared_module(i, files(i + '.c'),
> +                      dependencies: plugins_deps)

Same under-indent by 1.

With the indents fixed:

  Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>



With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



  reply	other threads:[~2026-01-16 12:23 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-02 21:47 [PATCH v2 00/11] plugins: enable C++ plugins Pierrick Bouvier
2026-01-02 21:47 ` [PATCH v2 01/11] plugins: move win32_linker.c file to plugins directory Pierrick Bouvier
2026-01-03 12:46   ` Manos Pitsidianakis
2026-01-05  4:33   ` Richard Henderson
2026-01-02 21:47 ` [PATCH v2 02/11] plugins: factorize plugin dependencies and library details Pierrick Bouvier
2026-01-16 12:22   ` Daniel P. Berrangé [this message]
2026-01-17  0:02     ` Pierrick Bouvier
2026-01-19  8:09       ` Daniel P. Berrangé
2026-01-19 16:52         ` Pierrick Bouvier
2026-01-02 21:47 ` [PATCH v2 03/11] plugins: use complete filename for defining plugins sources Pierrick Bouvier
2026-01-03 12:47   ` Manos Pitsidianakis
2026-01-02 21:47 ` [PATCH v2 04/11] plugins: define plugin API symbols as extern "C" when compiling in C++ Pierrick Bouvier
2026-01-05  5:10   ` Richard Henderson
2026-01-18 18:30   ` Philippe Mathieu-Daudé
2026-01-02 21:47 ` [PATCH v2 05/11] tests/tcg/plugins/mem.c: remove dependency on qemu headers Pierrick Bouvier
2026-01-03 12:49   ` Manos Pitsidianakis
2026-01-18 18:30   ` Philippe Mathieu-Daudé
2026-01-02 21:47 ` [PATCH v2 06/11] plugins: move qemu-plugin.h to include/plugins/ Pierrick Bouvier
2026-01-03 12:53   ` Manos Pitsidianakis
2026-01-05  5:13   ` Richard Henderson
2026-01-02 21:47 ` [PATCH v2 07/11] meson: fix supported compiler arguments in other languages than C Pierrick Bouvier
2026-01-03 12:54   ` Manos Pitsidianakis
2026-01-03 20:39     ` Pierrick Bouvier
2026-01-04 10:03       ` Manos Pitsidianakis
2026-01-02 21:47 ` [PATCH v2 08/11] meson: enable cpp (optionally) for plugins Pierrick Bouvier
2026-01-03 13:02   ` Manos Pitsidianakis
2026-01-02 21:47 ` [PATCH v2 09/11] qga/vss-win32: fix clang warning with C++20 Pierrick Bouvier
2026-01-03 13:03   ` Manos Pitsidianakis
2026-01-02 21:47 ` [PATCH v2 10/11] meson: update C++ standard to C++23 Pierrick Bouvier
2026-01-03 13:04   ` Manos Pitsidianakis
2026-01-02 21:47 ` [PATCH v2 11/11] contrib/plugins: add empty cpp plugin Pierrick Bouvier
2026-01-03 13:05   ` Manos Pitsidianakis
2026-01-15 20:53 ` [PATCH v2 00/11] plugins: enable C++ plugins Pierrick Bouvier
2026-01-16 12:35 ` Daniel P. Berrangé
2026-01-16 18:52   ` Pierrick Bouvier
2026-01-19 19:13 ` 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=aWotkyT7pmw3RKh8@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=gustavo.romero@linaro.org \
    --cc=manos.pitsidianakis@linaro.org \
    --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.