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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D3CCC433EF for ; Thu, 4 Nov 2021 14:52:53 +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 0F65C611C3 for ; Thu, 4 Nov 2021 14:52:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0F65C611C3 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.221596.383384 (Exim 4.92) (envelope-from ) id 1mie69-0001y6-Ji; Thu, 04 Nov 2021 14:52:13 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 221596.383384; Thu, 04 Nov 2021 14:52:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mie69-0001xz-Gt; Thu, 04 Nov 2021 14:52:13 +0000 Received: by outflank-mailman (input) for mailman id 221596; Thu, 04 Nov 2021 14:52:11 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mie67-0001xt-HL for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:52:11 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mie67-00065l-DJ for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:52:11 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1mie67-0000JD-CF for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:52:11 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1mie63-000333-HY; Thu, 04 Nov 2021 14:52:07 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=j8g5EwIwoncbJNqOrakepExTYWU+dWSo+hOQMfPfqOE=; b=J2j+jUuS9bZ5MdI9yKJmav7t2S UQW2JYinfsn5xX1HkzVgrUVnQgZEomWL9HtF8VM706xYICKb0AKDqZhjdAoX93d7yvAHRj4wgZ78h RP53ltS+eTRkhuUy1mSKGCyetInN2qQswMYXx5m1ywpsX0En/HqnAxlVYdPYzl+kEl2c=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24963.62355.300645.675596@mariner.uk.xensource.com> Date: Thu, 4 Nov 2021 14:52:03 +0000 To: Juergen Gross Cc: xen-devel@lists.xenproject.org, Wei Liu , Andrew Cooper Subject: [PATCH-for-4.16 1/2] configure: modify default of building rombios In-Reply-To: <20211104120324.9668-2-jgross@suse.com> References: <20211104120324.9668-1-jgross@suse.com> <20211104120324.9668-2-jgross@suse.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Juergen Gross writes ("[PATCH-for-4.16 1/2] configure: modify default of building rombios"): > The tools/configure script will default to build rombios if qemu > traditional is enabled. If rombios is being built, ipxe will be built > per default, too. > > This results in rombios and ipxe no longer being built per default when > disabling qemu traditional. > > Fix that be rearranging the dependencies: > > - build ipxe per default > - build rombios per default if either ipxe or qemu traditional are > being built > > This modification prepares not building qemu traditional per default > without affecting build of rombios and ipxe. Thanks. We had a conversation on irc about this. In summary: Reviewed-by: Ian Jackson Discussion: Both before and after this patch --with-system-ipxe --disable-ipxe (or --with-system-ipxe on arm) would set IPXE_PATH but not cause ipxe to be actually built. I think that is correct. We discussed the linkage between rombios and ipxe. Our understanding is that thbe intent was to support two configurations: qemu-trad + {hvmloader, rombios, ipxe} qemu-upstraem + {hvmloader, seabios, pxe rom provided by qemu} Before this patch, --disable-rombios --enable-ipxe would be an error. After this patch, it is tolerated (and indeed, it might occur with only one of those options due to defaulting). But we think that there is no actual functional link between these pieces: ie, nothing will actually go wrong. You just might not have ipxe support since you wouldn't be using trad at all. We think that someone who explicitly manipulates the --en/disable-rombios and --en/disable-ipxe options so as to construct such a situation ought to know what they are doing and should get what the asked for. Most people will controlling this via --en/disable-qemu-trad, which will do a plausible. thing. I think *this* patch is a bugfix, although to rather obscure configure behaviour. I am inclined to release ack both this and the followup, for the reasons I gave previously. Comments (especially, anything to contradict what I wrote above) ASAP please. Thanks, Ian.