All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
	QEMU <qemu-devel@nongnu.org>,
	"Daniele Buono" <dbuono@linux.vnet.ibm.com>
Subject: Re: [PATCH 3/5] net: slirp: switch to slirp_new
Date: Thu, 5 May 2022 11:07:13 +0100	[thread overview]
Message-ID: <YnOh0To8iqUfjlnu@redhat.com> (raw)
In-Reply-To: <CABgObfZaucTwU5vo5JKLabiBEKg7dEPhqYv+vSDvbHS72bDk1A@mail.gmail.com>

On Thu, May 05, 2022 at 10:29:07AM +0200, Paolo Bonzini wrote:
> On Thu, May 5, 2022 at 10:20 AM Marc-André Lureau
> <marcandre.lureau@gmail.com> wrote:
> >
> > Hi
> >
> > On Thu, May 5, 2022 at 1:07 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> >>
> >> Replace slirp_init with slirp_new, so that a more recent cfg.version
> >> can be specified.
> >
> >
> > It was introduced in v4.1.0, but I don't see a minimum libslirp version check.
> 
> In fact 4.3.0 is needed for version 3 of the struct, so the following
> needs to be
> squashed:
> 
> diff --git a/meson.build b/meson.build
> index 11876f5141..c902dfabd3 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2638,7 +2638,7 @@ if have_system
>    if slirp_opt in ['enabled', 'auto', 'system']
>      have_internal = fs.exists(meson.current_source_dir() / 'slirp/meson.build')
>      slirp = dependency('slirp', kwargs: static_kwargs,
> -                       method: 'pkg-config',
> +                       method: 'pkg-config', version: '>=4.3.0',

Adding a dep on version 4.3.0 is not desirable. Ubuntu 20.04 has
version 4.1.0, and we want to be able to drop slirp submodule
when we drop Ubuntu 18.04 (hopfully in this dev cycle).


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:[~2022-05-05 10:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 20:59 [PATCH 0/5] net: support for CFI with libslirp >= 4.7 Paolo Bonzini
2022-05-04 20:59 ` [PATCH 1/5] slirp: bump submodule to 4.7 release Paolo Bonzini
2022-05-05  8:21   ` Marc-André Lureau
2022-05-05  8:34     ` Paolo Bonzini
2022-05-05  8:37       ` Marc-André Lureau
2022-05-05  8:42         ` Paolo Bonzini
2022-05-04 20:59 ` [PATCH 2/5] net: slirp: introduce a wrapper struct for QemuTimer Paolo Bonzini
2022-05-05  8:22   ` Marc-André Lureau
2022-05-04 20:59 ` [PATCH 3/5] net: slirp: switch to slirp_new Paolo Bonzini
2022-05-05  8:20   ` Marc-André Lureau
2022-05-05  8:29     ` Paolo Bonzini
2022-05-05 10:07       ` Daniel P. Berrangé [this message]
2022-05-05 12:02         ` Paolo Bonzini
2022-05-04 21:00 ` [PATCH 4/5] net: slirp: add support for CFI-friendly timer API Paolo Bonzini
2022-05-05  8:24   ` Marc-André Lureau
2022-05-04 21:00 ` [PATCH 5/5] net: slirp: allow CFI with libslirp >= 4.7 Paolo Bonzini
2022-05-05  8:21   ` Marc-André Lureau

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=YnOh0To8iqUfjlnu@redhat.com \
    --to=berrange@redhat.com \
    --cc=dbuono@linux.vnet.ibm.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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.