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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 48AAFC433DF for ; Mon, 24 Aug 2020 18:12:07 +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 B663220702 for ; Mon, 24 Aug 2020 18:12:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B663220702 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 1kAGwg-0003ZD-7J; Mon, 24 Aug 2020 18:11:50 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kAGwe-0003Z7-Ek for xen-devel@lists.xen.org; Mon, 24 Aug 2020 18:11:48 +0000 X-Inumbo-ID: 430e3cff-960a-4301-a84e-df4b6a331655 Received: from chassiron.antioche.eu.org (unknown [2001:41d0:fe9d:1101::1]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 430e3cff-960a-4301-a84e-df4b6a331655; Mon, 24 Aug 2020 18:11:45 +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 07OIBiW3016659 for ; Mon, 24 Aug 2020 20:11:44 +0200 (MEST) Received: by rochebonne.antioche.eu.org (Postfix, from userid 1210) id E000B2803; Mon, 24 Aug 2020 20:11:43 +0200 (CEST) Date: Mon, 24 Aug 2020 20:11:43 +0200 From: Manuel Bouyer To: xen-devel@lists.xen.org Subject: qemu-xen and bridge (xen 4.11) Message-ID: <20200824181143.GA571@antioche.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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:11:44 +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" 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 ... -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --