From nobody Fri May 3 15:44:07 2024 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; Authentication-Results: mx.zohomail.com; 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=1591098092; cv=none; d=zohomail.com; s=zohoarc; b=JWyqHkqK6tnb9L4kamOHs3OYXOB7D5wzDAfuiliA25RydDIKwy4X0jB0fb9GMjIo9O7oEGgmMnQ6NGrAfXIt3LNWlYYEwm+egOzC9XeU3nLO7l8Pcw54abQbFDc5Xf/Rr4vJ0FshlfDDt+PhI5thaEQsBrZ++UaBg5tiwo531E8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591098092; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YAsUy0WU95dnPTES6zw9yyFkt8dHlM+t6J+WZyRCEBo=; b=IEmWCy2GuIk21jdqRSNpRXrNXO1Ty9b1Uavld2pLoSfHqMPtsRLJC6vJJWSHlROlEX4V0f07PjKb0T9wY1Auw3DvqkscOQ4cBL4MKj+hGh77Yy1smHT0oDn5xxRx7RaLpWL3PPl4d9SWHnjftN5zrmv5Hmuo6/oxeY4ZIt9wz/E= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 1591098092995912.0961012869335; Tue, 2 Jun 2020 04:41:32 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jg5Hs-0002VF-Ph; Tue, 02 Jun 2020 11:40:56 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jg5Hr-0002VA-J8 for xen-devel@lists.xenproject.org; Tue, 02 Jun 2020 11:40:55 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id eaa3c488-a4c5-11ea-9dbe-bc764e2007e4; Tue, 02 Jun 2020 11:40:54 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A364FAE00; Tue, 2 Jun 2020 11:40:55 +0000 (UTC) X-Inumbo-ID: eaa3c488-a4c5-11ea-9dbe-bc764e2007e4 X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Subject: [PATCH-for-4.14 1/2] xen: fix build with CONFIG_HYPFS_CONFIG enabled Date: Tue, 2 Jun 2020 13:40:49 +0200 Message-Id: <20200602114050.5964-2-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200602114050.5964-1-jgross@suse.com> References: <20200602114050.5964-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Juergen Gross , Stefano Stabellini , Julien Grall , Wei Liu , paul@xen.org, Andrew Cooper , Ian Jackson , George Dunlap , Jan Beulich Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Commit 58263ed7713e ("xen: add /buildinfo/config entry to hypervisor filesystem") added a dependency to .config, but the hypervisor's build config could be have another name via setting KCONFIG_CONFIG. Fix that by using $(KCONFIG_CONFIG) instead. Additionally reference the config file via $(XEN_ROOT) instead of a relative path. Reported-by: Andrew Cooper Signed-off-by: Juergen Gross --- xen/common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/Makefile b/xen/common/Makefile index 91581e1815..2799f6510c 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -75,7 +75,7 @@ obj-$(CONFIG_UBSAN) +=3D ubsan/ obj-$(CONFIG_NEEDS_LIBELF) +=3D libelf/ obj-$(CONFIG_HAS_DEVICE_TREE) +=3D libfdt/ =20 -config.gz: ../.config +config.gz: $(XEN_ROOT)/xen/$(KCONFIG_CONFIG) gzip -c $< >$@ =20 config_data.o: config.gz --=20 2.26.2 From nobody Fri May 3 15:44:07 2024 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; Authentication-Results: mx.zohomail.com; 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=1591098094; cv=none; d=zohomail.com; s=zohoarc; b=d7+WeO9XtIh40QAfNoyP0lgjvVf5Z0PLomWbyy0V/VqfY+riOXj9VrsFRvOzaQqBNUJCgUVGUBYgtZ3f5NG0qIglmG0WUfGZUZ+6oNCtaWQDJl1kBr0ag7jwOBbKm1toVFEuh6aETZA6lRejnBTEZ2T88d3iLucxRfHZwHe0bBY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591098094; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5O4HJ0R0+FjuUIjDZZXj1nbcdOVQQVvfh+AT1XArueg=; b=XnaFxVO02BNUweMyidnFvi2cFVhoV+CQmDjhm+bK+1jMNF4S88gjuuxH31qVre6nEn71WEEubNFio/0hWLjo5OIbAwYchfyZ3s6a4Y+bYtQPmLjoaXLfixzSZ/3xsS9eHQvQEWsYJI7uybbw5h0Vw/MfpurhR49iL1jZJQdbABw= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 1591098094898185.59471982300602; Tue, 2 Jun 2020 04:41:34 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jg5I3-0002Xt-AJ; Tue, 02 Jun 2020 11:41:07 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jg5I1-0002WP-FN for xen-devel@lists.xenproject.org; Tue, 02 Jun 2020 11:41:05 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id eab6ee8c-a4c5-11ea-9dbe-bc764e2007e4; Tue, 02 Jun 2020 11:40:54 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DC1E7ABF4; Tue, 2 Jun 2020 11:40:55 +0000 (UTC) X-Inumbo-ID: eab6ee8c-a4c5-11ea-9dbe-bc764e2007e4 X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Subject: [PATCH-for-4.14 2/2] xen/config: disable hypervisor filesystem for pv-shim Date: Tue, 2 Jun 2020 13:40:50 +0200 Message-Id: <20200602114050.5964-3-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200602114050.5964-1-jgross@suse.com> References: <20200602114050.5964-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Juergen Gross , Wei Liu , paul@xen.org, Andrew Cooper , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" The pv-shim doesn't need the hypervisor filesystem, so disable it. Signed-off-by: Juergen Gross Acked-by: Jan Beulich --- xen/arch/x86/configs/pvshim_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/configs/pvshim_defconfig b/xen/arch/x86/configs/p= vshim_defconfig index 9710aa6238..830660e022 100644 --- a/xen/arch/x86/configs/pvshim_defconfig +++ b/xen/arch/x86/configs/pvshim_defconfig @@ -6,6 +6,7 @@ CONFIG_PV_SHIM=3Dy CONFIG_PV_SHIM_EXCLUSIVE=3Dy CONFIG_NR_CPUS=3D32 # Disable features not used by the PV shim +# CONFIG_HYPFS is not set # CONFIG_SHADOW_PAGING is not set # CONFIG_BIGMEM is not set # CONFIG_HVM_FEP is not set --=20 2.26.2