From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8735C4332F for ; Mon, 3 Oct 2022 09:08:09 +0000 (UTC) Received: from localhost ([::1]:43206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofHQm-0004PQ-Eq for qemu-devel@archiver.kernel.org; Mon, 03 Oct 2022 05:08:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofHI7-0008JD-BS for qemu-devel@nongnu.org; Mon, 03 Oct 2022 04:59:14 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:41693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofHI5-0004fl-66 for qemu-devel@nongnu.org; Mon, 03 Oct 2022 04:59:10 -0400 Received: by mail-wr1-x432.google.com with SMTP id r6so15680712wru.8 for ; Mon, 03 Oct 2022 01:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date; bh=JThvYATJrWpCwfDS9WoUgB2+9kE/soYcc7/LUqrOhjU=; b=Z7GG7TPlu4cHKaGuAmxzQuOPQL7O0VBlI32kBw+j8rs7I29yxMA9jKO8kQMEoU6LT3 uWLhEoRRt76A/R7GumgQF83hK4adp7ceLnf6noJ0MGB+ajYB2/51iQu1WhcdvatrShyE E6vtg4wPrk0HskI3G7BqXxIR5sqQpWBfQq3SwBkOWcu20y2l4O7MjJ5fvLmxPwftSUpg 4HbS7lK+O7dgpHTUN6AuJ7MWGgPL9t5tXH7hbg3AZ/fopz8nfVXehH3rrXVZxbdr6B9X l4RZaLguB34DCLQJ5oftUWG9eot0dgBZ6IdFnyj6MkjALYhFMwL4quNOZvS+UUstI8WF AoIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date; bh=JThvYATJrWpCwfDS9WoUgB2+9kE/soYcc7/LUqrOhjU=; b=asME2rnXCsu3SvthfLJR4AQN0RyOJ7Pa6xFc4aC5Rl730p0ZwEdukrdFugphNWKvqQ WDbfbai4NnZo3xjisss/qxQAVr1I61/WUHt2m+M1w/6t0qLT13SiCKGR3fJdj/lnR/HZ Xz7vCdltHOKip1WQxsFDrDefkIvC1APIO2X3yYXO2DTuls/adIj4hVODqb9yI8eRH568 cmFLMYaVoba03fXYB5X5Z/yrJF5jdEalQ2aMx9ZuS/RwjFtRvUfRafyX4aEU2cv5BO1T 5lDE6JN72YYLOPdMCfNmImaCiu1PgJhpwRWQxnrXw52JEN79YO57Vxxt4GVEi+1JEDgC /LGQ== X-Gm-Message-State: ACrzQf0lAtaEWkmQUueB8EaNid6snQB3rKmKz7Rbnd9U9FBDfnf+mGG2 a0tE18H2VU8MDCgZXBqL2oxA46FAFTaTWg== X-Google-Smtp-Source: AMsMyM7/frmdEwzCSM26CsA8VzN6/psm0uruzLXnZaMc6EtjqH6fVTqOPvp8z4W6V40I7KwwAX9qwA== X-Received: by 2002:a5d:598a:0:b0:22a:f5f9:1fa0 with SMTP id n10-20020a5d598a000000b0022af5f91fa0mr12854463wri.711.1664787547826; Mon, 03 Oct 2022 01:59:07 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id bh14-20020a05600c3d0e00b003b47575d304sm14707946wmb.32.2022.10.03.01.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 01:59:07 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4F7191FFB7; Mon, 3 Oct 2022 09:59:06 +0100 (BST) References: <93033078-221d-23d2-23e7-13eab59cd439@amsat.org> User-agent: mu4e 1.9.0; emacs 28.2.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Thomas Huth Cc: Jason Wang , Philippe =?utf-8?Q?Mathieu-Daud?= =?utf-8?Q?=C3=A9?= , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , QEMU Developers , "Daniel P. Berrange" , Mark Cave-Ayland , 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 09:58:03 +0100 In-reply-to: Message-ID: <87o7utnuzp.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Thomas Huth writes: > On 29/09/2022 04.32, Jason Wang wrote: >> On Thu, Sep 29, 2022 at 1:06 AM Philippe Mathieu-Daud=C3=A9 wrote: >>> >>> On 28/9/22 10:27, Thomas Huth wrote: >>>> >>>> ... it might have happened due to the removal of the "slirp" submodule >>>> from the git repository. For example if you see an error message like = this: >>>> >>>> Parameter 'type' expects a netdev backend type >>>> >>>> this likely means that the "user" mode backend type is not available in >>>> your binary anymore. To fix it, simply install "libslirp-devel" (or >>>> libslirp-dev or however it is called) from your OS distribution and >>>> recompile. >>> >>> Thanks for the hint Thomas. I'm afraid many developers will miss your >>> email. >>> >>> Jason, Marc-Andr=C3=A9, 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? > > But the error message is not very helpful. It should rather say > something like (partly suggested by Daniel in IRC yesterday already): > > Type 'user' is not a supported netdev backend by this QEMU build. > Please check the spelling or whether it has been enabled at > compilation time. > > ... or something like this. > > Someone interested to write a patch? > > Thomas --=20 Alex Benn=C3=A9e