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 39C82C433EF for ; Sat, 23 Apr 2022 22:07:06 +0000 (UTC) Received: from localhost ([::1]:60160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niNuC-0007YG-S6 for qemu-devel@archiver.kernel.org; Sat, 23 Apr 2022 18:07:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niNtY-0006sf-Dk for qemu-devel@nongnu.org; Sat, 23 Apr 2022 18:06:24 -0400 Received: from speedy.comstyle.com ([2607:f938:3000:8::2]:43355 helo=mail.comstyle.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1niNtW-0006Tj-BK for qemu-devel@nongnu.org; Sat, 23 Apr 2022 18:06:24 -0400 Received: from mail.comstyle.com (localhost [127.0.0.1]) by mail.comstyle.com (Postfix) with ESMTP id 4Km52S12Cwz8PbN; Sat, 23 Apr 2022 18:06:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=comstyle.com; h=message-id :date:mime-version:subject:to:cc:references:from:in-reply-to :content-type:content-transfer-encoding; s=default; bh=WVZRRcva8 /a0SqoXDWHol1mr5k4=; b=GWAjeDllA7qz+yxiXfCYPF540lPFBoxawG+3LUlBy qEdgz285k3ec8NFVjcvoGmJK8kCftH6+k6LE+KTR3i82Bwoc0qAMfi0VJl1rOWyE IiU4fz5R9z7TYZX2AuU++lloRGssfiz7qfr72xWeX1+mr8icuuUkkt8wSWWBmYVB ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=comstyle.com; h=message-id :date:mime-version:subject:to:cc:references:from:in-reply-to :content-type:content-transfer-encoding; q=dns; s=default; b=nLs zKsPTUj5VzPi9FP4QLaQuhcFUM9SAM7GjUXwZwMDkOz7mu+/gv2f+22JNmQOP4O4 jQ0nU2aHbadhRibFsbDByR3qNOkiHATEGhkqMS7KXioyVVJvmWsKtqH1iOggVpKM 6fOyE12zvV2gbpWM7mDSsCyZ6PiERgAIXn4WMIgg= Received: from [IPV6:2001:470:b050:6:d8d5:79eb:908e:f0cc] (unknown [IPv6:2001:470:b050:6:d8d5:79eb:908e:f0cc]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 4Km52R52HRz8PbK; Sat, 23 Apr 2022 18:06:07 -0400 (EDT) Message-ID: <56a5fb83-1bdc-6144-329f-747c248fd285@comstyle.com> Date: Sat, 23 Apr 2022 18:06:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Thunderbird/100.0 Subject: Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp) Content-Language: en-US To: Thomas Huth , =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= Cc: Peter Maydell , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel@nongnu.org, Samuel Thibault References: <20220408164749.534758-1-thuth@redhat.com> <72fe734a-8bf6-adc6-474a-47f2006c2f6d@comstyle.com> <07a2ce65-41b9-7313-d7cc-51c2edb8cfd3@redhat.com> <952c223e-a4de-3200-959f-420a46e8a6db@redhat.com> From: Brad Smith In-Reply-To: <952c223e-a4de-3200-959f-420a46e8a6db@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f938:3000:8::2; envelope-from=brad@comstyle.com; helo=mail.comstyle.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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" On 4/20/2022 6:13 AM, Thomas Huth wrote: > On 19/04/2022 18.24, Daniel P. Berrang=C3=A9 wrote: >> On Mon, Apr 11, 2022 at 08:55:19AM +0200, Thomas Huth wrote: >>> On 11/04/2022 01.50, Brad Smith wrote: >>>> On 4/10/2022 5:06 AM, Peter Maydell wrote: >>>>> On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: >>>>>> On 4/8/2022 12:47 PM, Thomas Huth wrote: >>>>>>> QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big=20 >>>>>>> important >>>>>>> distro that did not have a pre-packaged libslirp has been=20 >>>>>>> dismissed. >>>>>>> All other major distros seem to have a libslirp package in their >>>>>>> distribution already - according to repology.org: >>>>>>> >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Fedora 34: 4.4.0 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0 CentOS 8 (RHEL-8): 4.4.0 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Debian Buster: 4= .3.1 (in buster-backports) >>>>>>> =C2=A0=C2=A0=C2=A0 OpenSUSE Leap 15.3: 4.3.1 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ubuntu LTS 20.04: 4.1.0 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 FreeBSD Ports: 4= .6.1 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NetBSD pkgsrc: 4= .3.1 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 Homebrew: 4.6.1 >>>>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MSYS= 2 mingw: 4.6.1 >>>>>>> >>>>>>> The only one that still seems to be missing a libslirp package is >>>>>>> OpenBSD - but I assume that they can add it to their ports system >>>>>>> quickly if required. >>>>>> I wish I had seen this earlier as our 7.1 release was just tagged. >>>>>> >>>>>> I have whipped up a port of 4.6.1 for OpenBSD as it was pretty=20 >>>>>> simple. I >>>>>> will >>>>>> see about submitting it in a number of days when the tree opens. >>>>> How awkward would it be for an end-user who's on OpenBSD 7.1 to >>>>> build a QEMU that doesn't have libslirp? (That is, is it easy >>>>> and common for an end user to pull in a port of libslirp that only >>>>> came along in a later OpenBSD, or would they instead have to >>>>> manually compile libslirp themselves from the upstream sources?) >>>>> >>>>> (I'm asking here because if it's painful, then we should perhaps >>>>> defer dropping our submodule copy of libslirp a little longer.) >>>>> >>>>> thanks >>>>> -- PMM >>>> >>>> They would have to pull down a -current ports tree and build it. No=20 >>>> package >>>> would exist for the release. It is possible, but not "supported". I=20 >>>> have >>>> not looked >>>> at the CI bits to see how difficult that would be. >>>> >>>> Our release cycles are 6 months and the next release will be in the=20 >>>> middle >>>> of October. >>> >>> OK, thanks for the update, Brad ... so I guess we should defer this=20 >>> patch to >>> QEMU 7.2 (to be released in december) instead? >>> (which would be fine for me - I just wanted to get the discussion=20 >>> started, >>> that's also why I've marked this patch as RFC) >> >> Perhaps make 7.1 simply issue a warning message in configure if >> the bundled slirp is used, to give people a heads up that they'll >> want to install libslirp-devel soon. > > Not sure if people will notice a warning in the output of "configure"=20 > ... but I've put some sentences in the ChangeLog here: > > https://wiki.qemu.org/ChangeLog/7.0#New_deprecated_options_and_features > > (which we could repeat for the 7.1 release again) > > I hope that helps to make people aware... > > =C2=A0Thomas Just to note.. my libslirp port went in. https://marc.info/?l=3Dopenbsd-ports-cvs&m=3D165070969206193&w=3D2 and have switched our QEMU port to build with the libslirp port.. https://marc.info/?l=3Dopenbsd-ports-cvs&m=3D165070979906266&w=3D2