* [PATCH] passt: Declare dependency on gio
@ 2025-09-22 13:22 Peter Maydell
2025-09-23 12:52 ` Laurent Vivier
0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2025-09-22 13:22 UTC (permalink / raw)
To: qemu-devel; +Cc: Laurent Vivier
The passt network backend uses gio; declare this dependency in
meson.build, so we don't try to build it if configured with
--disable-gio or if gio is not present.
Cc: qemu-stable@nongnu.org
Fixes: 854ee02b222 ("net: Add passt network backend")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3121
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 6ade30f36ad..c5a56ba5deb 100644
--- a/meson.build
+++ b/meson.build
@@ -1279,6 +1279,7 @@ if not get_option('slirp').auto() or have_system
endif
enable_passt = get_option('passt') \
+ .require(gio.found(), error_message: 'passt requires gio') \
.require(host_os == 'linux', error_message: 'passt is supported only on Linux') \
.allowed()
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] passt: Declare dependency on gio
2025-09-22 13:22 [PATCH] passt: Declare dependency on gio Peter Maydell
@ 2025-09-23 12:52 ` Laurent Vivier
2025-09-25 10:12 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Vivier @ 2025-09-23 12:52 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 22/09/2025 15:22, Peter Maydell wrote:
> The passt network backend uses gio; declare this dependency in
> meson.build, so we don't try to build it if configured with
> --disable-gio or if gio is not present.
>
> Cc: qemu-stable@nongnu.org
> Fixes: 854ee02b222 ("net: Add passt network backend")
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3121
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meson.build b/meson.build
> index 6ade30f36ad..c5a56ba5deb 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -1279,6 +1279,7 @@ if not get_option('slirp').auto() or have_system
> endif
>
> enable_passt = get_option('passt') \
> + .require(gio.found(), error_message: 'passt requires gio') \
> .require(host_os == 'linux', error_message: 'passt is supported only on Linux') \
> .allowed()
>
I sent the same patch two months ago:
https://lists.nongnu.org/archive/html/qemu-devel/2025-07/msg04907.html
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] passt: Declare dependency on gio
2025-09-23 12:52 ` Laurent Vivier
@ 2025-09-25 10:12 ` Peter Maydell
0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2025-09-25 10:12 UTC (permalink / raw)
To: Laurent Vivier; +Cc: qemu-devel
On Tue, 23 Sept 2025 at 13:52, Laurent Vivier <lvivier@redhat.com> wrote:
>
> On 22/09/2025 15:22, Peter Maydell wrote:
> > The passt network backend uses gio; declare this dependency in
> > meson.build, so we don't try to build it if configured with
> > --disable-gio or if gio is not present.
> >
> > Cc: qemu-stable@nongnu.org
> > Fixes: 854ee02b222 ("net: Add passt network backend")
> > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3121
> > Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> > ---
> > meson.build | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/meson.build b/meson.build
> > index 6ade30f36ad..c5a56ba5deb 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -1279,6 +1279,7 @@ if not get_option('slirp').auto() or have_system
> > endif
> >
> > enable_passt = get_option('passt') \
> > + .require(gio.found(), error_message: 'passt requires gio') \
> > .require(host_os == 'linux', error_message: 'passt is supported only on Linux') \
> > .allowed()
> >
>
> I sent the same patch two months ago:
> https://lists.nongnu.org/archive/html/qemu-devel/2025-07/msg04907.html
Sorry, I should have searched the list and saved myself some
time :-) I'll pick your patch up via target-arm.next.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-25 10:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22 13:22 [PATCH] passt: Declare dependency on gio Peter Maydell
2025-09-23 12:52 ` Laurent Vivier
2025-09-25 10:12 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).