Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36A0DC433DF for ; Mon, 24 Aug 2020 18:29:44 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1029220738 for ; Mon, 24 Aug 2020 18:29:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1029220738 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=antioche.eu.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kAHDh-0004u0-Jh; Mon, 24 Aug 2020 18:29:25 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kAHDg-0004tv-95 for xen-devel@lists.xen.org; Mon, 24 Aug 2020 18:29:24 +0000 X-Inumbo-ID: 2c181168-76e0-443d-81ce-badac14562f6 Received: from chassiron.antioche.eu.org (unknown [2001:41d0:fe9d:1101::1]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2c181168-76e0-443d-81ce-badac14562f6; Mon, 24 Aug 2020 18:29:22 +0000 (UTC) Received: from rochebonne.antioche.eu.org (rochebonne [10.0.0.1]) by chassiron.antioche.eu.org (8.15.2/8.15.2) with ESMTP id 07OITKSv014529; Mon, 24 Aug 2020 20:29:20 +0200 (MEST) Received: by rochebonne.antioche.eu.org (Postfix, from userid 1210) id 60CEC2803; Mon, 24 Aug 2020 20:29:20 +0200 (CEST) Date: Mon, 24 Aug 2020 20:29:19 +0200 From: Manuel Bouyer To: Roman Shaposhnik Cc: xen-devel@lists.xen.org Subject: Re: qemu-xen and bridge (xen 4.11) Message-ID: <20200824182919.GA936@antioche.eu.org> References: <20200824181143.GA571@antioche.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (chassiron.antioche.eu.org [151.127.5.145]); Mon, 24 Aug 2020 20:29:21 +0200 (MEST) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Mon, Aug 24, 2020 at 11:24:06AM -0700, Roman Shaposhnik wrote: > On Mon, Aug 24, 2020 at 11:12 AM Manuel Bouyer wrote: > > > > Hello, > > with the recent XSA about qemu, I'm trying to switch the NetBSD port from > > qemu-xen-traditional to qemu-xen (in Xen 4.11 for now, I'll look at > > 4.13 later). > > One showstopper is that with qemu-xen, the bridge name is not passed > > any more to the qemu-ifup script. I tried adding a br= option to > > the qemu invocation, but qemu-system-i386 doesn't seem to use it > > (at last the script is still called with only one argument). > > I'm not about to pass to qemu the value of nics[i].script instead of > > libxl_tapif_script(), so that at last per-domain script can be > > specified. > > > > How is this issue dealt with on other OSes ? I can't believe I'm > > the only one with multiple bridges in the dom0 ... > > You mean something like? > https://github.com/lf-edge/eve/blob/master/pkg/xen-tools/patches-4.14.0/10-bridge-helper-support.patch yes, that is going to help. I'll see if I can backport it to 4.11 thanks ! -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --