From nobody Mon Jan 26 09:20:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1768538140; cv=none; d=zohomail.com; s=zohoarc; b=lPoJ7RN0HrJMaBDxrXgvLE8wLHzWGun5t3OkMJQLvaL3A06SbPZI484Pwd9ppK51sx99EWLg57ZSzbjO2Ey8dRtVlfEc02Nr5pnu4fCe22fIhkh87mBfVjb/tERq1MHkcxIapunmLzEaQSFy3OSANq0mv1Do+WgdILI+9w3Pw8Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768538140; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sstj4f6s3p4JgN2+Qmv2+rlNpy+6d5aRHrcXL1c5i4w=; b=lQTGiobZ1COq4eORgvvymEnSK9gcIzQa7g065OroPaJjVQgg2LtH7hFUIpC7jehqb3U3J2IWdsj0VCH7SvpsButesxFIj/2BRfp2eNjhJ+jAsLpr1NY62idh5uz1LXJAFxYslT0Sb5QyPlB7F3W3ZPZeeRvYCO/a0aDio48y31Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1768538140722563.1760253447561; Thu, 15 Jan 2026 20:35:40 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1206121.1519867 (Exim 4.92) (envelope-from ) id 1vgbYE-0005tO-QG; Fri, 16 Jan 2026 04:35:10 +0000 Received: by outflank-mailman (output) from mailman id 1206121.1519867; Fri, 16 Jan 2026 04:35:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vgbYE-0005t6-M3; Fri, 16 Jan 2026 04:35:10 +0000 Received: by outflank-mailman (input) for mailman id 1206121; Fri, 16 Jan 2026 04:35:08 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vgbYC-0005fx-Su for xen-devel@lists.xenproject.org; Fri, 16 Jan 2026 04:35:08 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1vgbYC-006Czk-26; Fri, 16 Jan 2026 04:35:08 +0000 Received: from [19.12.91.86] (helo=localhost) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgbYC-005RCB-0I; Fri, 16 Jan 2026 04:35:08 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version 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=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From; bh=sstj4f6s3p4JgN2+Qmv2+rlNpy+6d5aRHrcXL1c5i4w=; b=gZkV7QGbSdUXvIrOgJn1marDGW E6xzxYxtMwlyS/7RIlLydtCmd19wXuI9ZsT80vwrTr+irZVLHjUiSHbysVZ70VOi3C4QN2/gxrjvr JspWSY7fknF6rbRkNB0gRhEAmb4/l63qWZSpIVOnPjGoCDwhIiSnQYZJeZSn4u1Mu62A=; From: dmukhin@xen.org To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger.pau@citrix.com, sstabellini@kernel.org, dmukhin@ford.com Subject: [PATCH v1 3/4] scripts/config: add -y|-n flags Date: Thu, 15 Jan 2026 20:34:57 -0800 Message-ID: <20260116043458.730728-4-dmukhin@ford.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260116043458.730728-1-dmukhin@ford.com> References: <20260116043458.730728-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xen.org) X-ZM-MESSAGEID: 1768538141754158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin =20 Add alias -y ("yes") to --enable and -n ("no") to --disable a Kconfig option for better scripting experience. Signed-off-by: Denis Mukhin Reviewed-by: Stefano Stabellini --- xen/scripts/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/scripts/config b/xen/scripts/config index 1050812aae8d..1ede964320cf 100755 --- a/xen/scripts/config +++ b/xen/scripts/config @@ -16,8 +16,8 @@ Manipulate options in a .config file from the command lin= e. Usage: $myname options command ... commands: - --enable|-e option Enable option - --disable|-d option Disable option + --enable|-e|-y|--yes option Enable option + --disable|-d|-n|--no option Disable option --set-str option string Set option to "string" --set-val option value @@ -166,11 +166,11 @@ while [ "$1" !=3D "" ] ; do ;; esac case "$CMD" in - --enable|-e) + --enable|-e|-y|--yes) set_var "${CONFIG_}$ARG" "${CONFIG_}$ARG=3Dy" ;; =20 - --disable|-d) + --disable|-d|-n|--no) set_var "${CONFIG_}$ARG" "# ${CONFIG_}$ARG is not set" ;; =20 --=20 2.52.0