qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Thomas Huth" <thuth@redhat.com>,
	"Jason Wang" <jasowang@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Daniel P. Berrange" <berrange@redhat.com>,
	"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
	qemu-discuss@nongnu.org
Subject: Re: If your networking is failing after updating to the latest git version of QEMU...
Date: Mon, 03 Oct 2022 11:22:27 +0100	[thread overview]
Message-ID: <87k05hnr0f.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA9YyN802x43+K27Hv1-rvkBbxE2r5sfxxahwmJtFAEP=Q@mail.gmail.com>


Peter Maydell <peter.maydell@linaro.org> writes:

> On Mon, 3 Oct 2022 at 10:09, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>>
>> Thomas Huth <thuth@redhat.com> writes:
>>
>> > On 29/09/2022 04.32, Jason Wang wrote:
>> >> On Thu, Sep 29, 2022 at 1:06 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>> >>> Jason, Marc-André, could we improve the buildsys check or display
>> >>> a more helpful information from the code instead?
>> >> It looks to me we need to improve the build.
>> >
>> > I'm not sure there is anything to improve in the build system -
>> > configure/meson.build are just doing what they should: Pick the
>> > default value for "slirp" if the user did not explicitly specify
>> > "--enable-slirp".
>>
>> Shouldn't it be the other way round and fail to configure unless the
>> user explicitly calls --disable-slirp?
>
> Our standard pattern for configure options is:
>  --enable-foo : check for foo; if it can't be enabled, fail configure
>  --disable-foo : don't even check for foo, and don't build it in
>  no option given : check for foo, decide whether to build in support if
>                    it's present

Don't we make a distinction between libs that are truly optional and
those you probably need. It seems missing working networking is one of
those things we should be telling the user about unless explicitly
disabled. It is after all how we worked before, we would silently
checkout libslirp and build it for you.

>
> -- PMM


-- 
Alex Bennée


  reply	other threads:[~2022-10-03 10:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28  8:27 If your networking is failing after updating to the latest git version of QEMU Thomas Huth
2022-09-28 17:06 ` Philippe Mathieu-Daudé via
2022-09-29  2:32   ` Jason Wang
2022-09-29  6:34     ` Thomas Huth
2022-10-03  8:58       ` Alex Bennée
2022-10-03  9:26         ` Peter Maydell
2022-10-03 10:22           ` Alex Bennée [this message]
2022-10-03 10:36             ` Peter Maydell
2022-10-03 11:03               ` Daniel P. Berrangé

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=87k05hnr0f.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=jasowang@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@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 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).