All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org, "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: jb-gnumlists@wisemo.com, thuth@redhat.com, jasowang@redhat.com
Subject: Re: [PATCH v2] build-sys: error when slirp is not found and not disabled
Date: Thu, 06 Oct 2022 11:31:17 +0200	[thread overview]
Message-ID: <2012415.IhVtOWKhAM@silver> (raw)
In-Reply-To: <20221006083322.2612639-1-marcandre.lureau@redhat.com>

On Donnerstag, 6. Oktober 2022 10:33:22 CEST marcandre.lureau@redhat.com 
wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> This is an alternative configure-time solution to "[PATCH] net:
> print a more actionable error when slirp is not found".
> 
> See also "If your networking is failing after updating to the latest git
> version of QEMU..." ML thread.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  meson.build | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/meson.build b/meson.build
> index 4321b8f8da..b05080b051 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -690,6 +690,13 @@ if not get_option('slirp').auto() or have_system
>    endif
>  endif
> 
> +# Remove this error after QEMU 8.1 has been released.
> +if not get_option('slirp').disabled() and not slirp.found()
> +  error('libslirp is not explicitely disabled and was not found. ' +

"explicitly", except of that:

Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>

> +        'Since qemu 7.2, libslirp is no longer included as a submodule ' +
> +        'fallback, you must install it on your system or --disable-slirp.')
> +endif
> +
>  vde = not_found
>  if not get_option('vde').auto() or have_system or have_tools
>    vde = cc.find_library('vdeplug', has_headers: ['libvdeplug.h'],





  parent reply	other threads:[~2022-10-06 10:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06  8:33 [PATCH v2] build-sys: error when slirp is not found and not disabled marcandre.lureau
2022-10-06  8:52 ` Thomas Huth
2022-10-06  9:31 ` Christian Schoenebeck [this message]
2022-10-06  9:39 ` Daniel P. Berrangé
2022-10-06 10:12   ` Christian Schoenebeck
2022-10-06 10:26     ` Daniel P. Berrangé
2022-10-06 11:08       ` Christian Schoenebeck

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=2012415.IhVtOWKhAM@silver \
    --to=qemu_oss@crudebyte.com \
    --cc=jasowang@redhat.com \
    --cc=jb-gnumlists@wisemo.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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.