From nobody Thu May 2 14:20:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1580808907560600.3686783895428; Tue, 4 Feb 2020 01:35:07 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iyubP-0001L1-VQ; Tue, 04 Feb 2020 09:34:39 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iyubP-0001Kc-7V for xen-devel@lists.xenproject.org; Tue, 04 Feb 2020 09:34:39 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 8c5e15ac-4731-11ea-8ef9-12813bfff9fa; Tue, 04 Feb 2020 09:34:33 +0000 (UTC) X-Inumbo-ID: 8c5e15ac-4731-11ea-8ef9-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1580808873; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=2g21h5VXnWTXEdDsr4vYTMSl4J4YBWAfT+fz1Duajyw=; b=heo5PjKWBw7a30NJkiddFHLEhCR9VftX3Dir3wXfHikxvnooI8OZRXZ6 KH5qWgw27lQkcAARmOomQh+Anf4mFAckYXiCH9xJi8wmZ+sQV+wR0VWjv JuomuNWyJIWb6Wk592RZK1dxXS2LA1WthRkwECBNu89KcViOu7h6IKcIL c=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: iuOJ5ZnFPHC9BZKkcfeKt3lNFBZgeHWWGQNfLKHRzZEUrUBUd30yIulUNP19uOqYp8tYn6mx6u sbh7awwEupu/4aqSNHS/R1UXD+v2cpRK3OTLJsZlyEGWrIaRt46lHIKNPOWlySO1XDFXYAfCGe wVhYII8q87VUgxwRAGk4QOedOiGvxU8E74EFs4bWSIMBpMkgPZZEkeaze2M62AtK5ijL+eybaX GTrte6xxanJTopxtNjZqTJTNB925BTehNONIn7Roo2mlOA3CiagE/QsXl5ZFXPoC2mCoEFmAF1 iQo= X-SBRS: 2.7 X-MesageID: 12517738 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.70,401,1574139600"; d="scan'208";a="12517738" From: Ian Jackson To: Date: Tue, 4 Feb 2020 09:34:23 +0000 Message-ID: <20200204093424.10159-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200204093424.10159-1-ian.jackson@eu.citrix.com> References: <20200204093424.10159-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v3 1/2] tools/xenstore: Re-introduce (fake) xs_restrict call to preserve ABI X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson , Wei Liu , Stefan Bader Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Stefan Bader libxenstore3.0 in Xen 4.8 had this function. We don't really want to bump the ABI version (soname) just for this, since we don't think there are actual callers anywhere. But tools complain about the symbol going away. So, provide a function xs_restrict which conforms to the original semantics, although it always fails. Gbp-Pq: Topic xenstore Gbp-Pq: Name tools-fake-xs-restrict.patch Signed-off-by: Ian Jackson Acked-by: Wei Liu --- v3: Fixed commit author v2: New in this version of the series --- tools/xenstore/include/xenstore.h | 5 +++++ tools/xenstore/xs.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/tools/xenstore/include/xenstore.h b/tools/xenstore/include/xen= store.h index 254f556a0b..25b31881c8 100644 --- a/tools/xenstore/include/xenstore.h +++ b/tools/xenstore/include/xenstore.h @@ -134,6 +134,11 @@ bool xs_mkdir(struct xs_handle *h, xs_transaction_t t, bool xs_rm(struct xs_handle *h, xs_transaction_t t, const char *path); =20 +/* Fake function which will always return false (required to let + * libxenstore remain at 3.0 version. + */ +bool xs_restrict(struct xs_handle *h, unsigned domid); + /* Get permissions of node (first element is owner, first perms is "other"= ). * Returns malloced array, or NULL: call free() after use. */ diff --git a/tools/xenstore/xs.c b/tools/xenstore/xs.c index f823abe737..aa1d24b8b9 100644 --- a/tools/xenstore/xs.c +++ b/tools/xenstore/xs.c @@ -797,6 +797,12 @@ unwind: return false; } =20 +/* Always return false a functionality has been removed in Xen 4.9 */ +bool xs_restrict(struct xs_handle *h, unsigned domid) +{ + return false; +} + /* Watch a node for changes (poll on fd to detect, or call read_watch()). * When the node (or any child) changes, fd will become readable. * Token is returned when watch is read, to allow matching. --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Thu May 2 14:20:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1580808917085207.54942380514342; Tue, 4 Feb 2020 01:35:17 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iyubV-0001Nn-AX; Tue, 04 Feb 2020 09:34:45 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iyubU-0001NF-7W for xen-devel@lists.xenproject.org; Tue, 04 Feb 2020 09:34:44 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 8f7a6cd4-4731-11ea-8ef9-12813bfff9fa; Tue, 04 Feb 2020 09:34:37 +0000 (UTC) X-Inumbo-ID: 8f7a6cd4-4731-11ea-8ef9-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1580808877; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Os92dfSQWU9h6kv9LrnZnZne/r4HgjhA4dGYC/s21v4=; b=Wey7Gf7Pt4n56R/V9VX18XZJYPTnUu4aEk9N2FU7JkkiezuDoyMhPLeC 818SaO2jhH2byuJ8LkUJPyon7Di8L2gTkmOGTGGGiLbVzGO8T26mAEKPO cyhjCY0H3ntqvHkug6Q8aepp8kSefHdiwCP9DD1lunJs7iWps0to6VfsY 4=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: GON+E+MD27L8/1CLN2veec9hlMlk/MG9zzYwUc3tfEoj47k2Ax3cIXCiZdj/l7bqOTtw/voxF6 kmYPDeHWM2fDX+PYEq96kZ06TNgQxcLkZw82CqPllT5S7LRT3l9gYx8qF6Q0BbMgblkUS4bT+d oOeb6Ac2iMBFjFT+BwLSHkeitq/FFZe4m+6TJAtn1k9hqv3bmAe6u7zaZeZ1paO57bGXnUjDLo y73YDUYv6HMG4nQMeK1BxcZoSel81zoY/vv+lUfw9UfXiUKJqx9UHrnQ1YHIJ4avEQxsqt5Dtf /QA= X-SBRS: 2.7 X-MesageID: 12517741 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.70,401,1574139600"; d="scan'208";a="12517741" From: Ian Jackson To: Date: Tue, 4 Feb 2020 09:34:24 +0000 Message-ID: <20200204093424.10159-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200204093424.10159-1-ian.jackson@eu.citrix.com> References: <20200204093424.10159-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v3 2/2] INSTALL: Mention kconfig X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Jan Beulich , Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Ian Jackson Firstly, add a reference to the documentation for the kconfig system. Secondly, warn the user about the XEN_CONFIG_EXPERT problem. Signed-off-by: Ian Jackson Reviewed-by: Doug Goldstein Acked-by: Jan Beulich --- v2: Fix typos --- INSTALL | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/INSTALL b/INSTALL index aa08562b8a..72dc4b67dd 100644 --- a/INSTALL +++ b/INSTALL @@ -19,6 +19,26 @@ following compile process. Once configure is done, make(= 1) has to be called. Also make(1) recognizes certain arguments. The following sections will give an overview. =20 +Xen Hypervisor +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Xen itself is configured via a `kconfig' system borrowed from Linux. +See docs/misc/kconfig.txt. + +Note that unlike with Linux, and contrary to that document, you cannot +look at Kconfig files, or the default or generated config files etc., +to find available configuration options. This is because it is only +supported (and security supported) by the Xen Project, to change a +small subset of the options. Attempts to change other options will be +silently overridden. The only way to find which configuration options +are available is to run `make menuconfig' or the like. + +You can counter-override this behaviour by setting XEN_CONFIG_EXPERT=3Dy +in your environment. However, doing this is not supported and the +resulting configurations do not receive security support. If you set +this variable there is nothing stopping you setting dangerously +experimental combinations of features - not even any warnings. + Options recognized by configure =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =20 --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel