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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 CB926C54E4A for ; Mon, 11 May 2020 13:41:02 +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 A3261206B7 for ; Mon, 11 May 2020 13:41:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3261206B7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com 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 1jY8fm-0005X0-6d; Mon, 11 May 2020 13:40:46 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jY8fl-0005Wv-1A for xen-devel@lists.xenproject.org; Mon, 11 May 2020 13:40:45 +0000 X-Inumbo-ID: 02b32888-938d-11ea-ae69-bc764e2007e4 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 02b32888-938d-11ea-ae69-bc764e2007e4; Mon, 11 May 2020 13:40:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34D70AD35; Mon, 11 May 2020 13:40:45 +0000 (UTC) Subject: Re: [PATCH RESEND 2/2] xen: Allow EXPERT mode to be selected from the menuconfig directly To: Julien Grall References: <20200430142548.23751-1-julien@xen.org> <20200430142548.23751-3-julien@xen.org> <3a4ec020-f626-031e-73a6-b2eee97ab9e8@suse.com> <123BE55A-AACB-4FE3-94E2-1559ED73DD09@citrix.com> <24240.3047.877655.345428@mariner.uk.xensource.com> <1d8eb504-51e9-b8e7-f1af-862760f0f15d@xen.org> <24244.16076.627203.282982@mariner.uk.xensource.com> <09d729ad-58a7-1f4b-c779-5fd81d7009a4@xen.org> From: Jan Beulich Message-ID: <4017f7f0-744b-70ff-8fa4-b33c53a8b9e2@suse.com> Date: Mon, 11 May 2020 15:40:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <09d729ad-58a7-1f4b-c779-5fd81d7009a4@xen.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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: , Cc: Stefano Stabellini , Wei Liu , Andrew Cooper , Julien Grall , George Dunlap , xen-devel , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 11.05.2020 15:30, Julien Grall wrote: > Hi Ian, > > Thank you for the clarification. > > On 07/05/2020 18:01, Ian Jackson wrote: >> Julien Grall writes ("Re: [PATCH RESEND 2/2] xen: Allow EXPERT mode to be selected from the menuconfig directly"): >>> On 04/05/2020 13:34, Ian Jackson wrote: >>>> George Dunlap writes ("Re: [PATCH RESEND 2/2] xen: Allow EXPERT mode to be selected from the menuconfig directly"): >>>>> On Apr 30, 2020, at 3:50 PM, Jan Beulich wrote: >>>>>> Well, if I'm not mis-remembering it was on purpose to make it more >>>>>> difficult for people to declare themselves "experts". FAOD I'm not >>>>>> meaning to imply I don't see and accept the frustration aspect you >>>>>> mention further up. The two need to be carefully weighed against >>>>>> one another. >>>> >>>> Yes, it was on purpose. However, I had my doubts at the time and >>>> I think experience has shown that this was a mistake. >>>> >>>>> I don’t think we need to make it difficult for people to declare >>>>> themselves experts, particularly as “all” it means at the moment is, >>>>> “Can build something which is not security supported”. People who >>>>> are building their own hypervisors are already pretty well advanced; >>>>> I think we can let them shoot themselves in the foot if they want >>>>> to. >>>> >>>> Precisely. >>> >>> Can I consider this as an Acked-by? :) >> >> I am happy with the principle of the change. I haven't reviewed the >> details of the commit message etc. >> >> I reviewed the thread and there were two concernes raised: >> >> * The question of principle. I disagree with this concern >> because I approve of principle of the patch. >> >> * Some detail about the precise justificaton as written in >> the commit message, regarding `clean' targets. Apparently the >> assertion may not be completely true. I haven't seen a proposed >> alternative wording. > > I have checked the latest staging, the `clean` target doesn't trash > .config anymore. > >> >> I don't feel I should ack a controversial patch with an unresolved >> wording issue. Can you tell me what your proposed wording is ? >> To avoid blocking this change I would be happy to review your wording >> and see if it meets my reading of the stated objection. > > Here a suggested rewording: > > "EXPERT mode is currently used to gate any options that are in technical > preview or not security supported At the moment, the only way to select > it is to use XEN_CONFIG_EXPERT=y on the make command line. > > However, if the user forget to add the option when (re)building or when > using menuconfig, then .config will get rewritten. This may lead to a > rather frustrating experience as it is difficult to diagnostic the > issue. To me this looks very similar to e.g. not suitably overriding the default toolchain binaries, if one has a need to build with newer ones than what a distro provides. According to some of my routinely built configs both can be done by putting suitable entries into ./.config (not xen/.config), removing the need to remember adding either to the make command line. Jan