[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] xen: fix randconfig build problems after introducing SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Date: Wed, 22 Oct 2025 16:21:30 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IsHimIMTsp2/hUmFO7m0Fj6zDKoxkBYdLmVHK3uqdOE=; b=YCDqpuUvixq1usU+rvObcYBh2N9GAjosR55GLrZs1/iVdOBH8UrXdDxOELwkJvyYTmOpWgf499y4JsyQ+2N6C7A8Vo3scljVpaf23AtplPtEefKA+X+a0hilsZj1zOqb0t2BWC4tujOcBIoHmmLA2kuAjzFA89GdOpylnatqEYgWVnDtGog3ENOzSnBSmyqdldFNzK7KMcbaq+JP0QGPdo9wwOmEt8ZS7/KMFEnFSd7xplisBtTxHL0RdoCeJ66vq5TYRGOUywOhyeD3dMmbiQjjxYgCQwSQ0zefu0dDM0rcQ3m5jmFlg9QgHv6Ki6/fZKRrxQ3r45TDjdxjcDy4+w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R82Jvr4ADWm8F9AoiYmh8OOr+RfIhpoDhs5rGO5aCfzZGfDMozDypwRdwAxmuE7zYi8BaM0VH6gj5OktmFpmSzNkMbOk+C6jvrlZFsGaiyzh+GzwadH3z9tsP/gGabMI74EbS5bvWCeWeVpzBEjU0zSdTnRtKi23PpU9QU89NMgAMk0yXF257CfMUgpEhcLCf6c+oW7URZqoZXOiXnVGE559akRxeG8BhlAZrdkc1jl3khyVfTNGLQcCaaqngDE7sSxRRztcdBvRMvyAGI+bk2WW9OqbmAq6MYHGpt2yz1kv7v2VVpFYFlamSsi38vWsC+oFlcr1a+v2dd92Yd9cag==
  • Cc: <stefano.stabellini@xxxxxxx>, <jbeulich@xxxxxxxx>, <andrew.cooper3@xxxxxxxxxx>, <roger.pau@xxxxxxxxxx>, <oleksii.kurochko@xxxxxxxxx>, <Penny.Zheng@xxxxxxx>
  • Delivery-date: Wed, 22 Oct 2025 23:21:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Fix a few randconfig build breakages that started appearing after the
SYSCTL patch series.

First, reintroduce depends on !PV_SHIM_EXCLUSIVE for HVM, as it was
before 568f806cba4c.

Also, add depends on !PV_SHIM_EXCLUSIVE for SYSCTL, that way the
behavior goes back to what it was before 34317c508294.

Fixes: 568f806cba4c ("xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"")
Fixes: 34317c508294 ("xen/sysctl: wrap around sysctl hypercall")
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
CC: jbeulich@xxxxxxxx
CC: andrew.cooper3@xxxxxxxxxx
CC: roger.pau@xxxxxxxxxx
CC: Penny.Zheng@xxxxxxx
---
 xen/arch/x86/hvm/Kconfig | 1 +
 xen/common/Kconfig       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/xen/arch/x86/hvm/Kconfig b/xen/arch/x86/hvm/Kconfig
index 5cb9f29042..f10a2b3744 100644
--- a/xen/arch/x86/hvm/Kconfig
+++ b/xen/arch/x86/hvm/Kconfig
@@ -1,5 +1,6 @@
 menuconfig HVM
        bool "HVM support"
+       depends on !PV_SHIM_EXCLUSIVE
        default !PV_SHIM
        select COMPAT
        select IOREQ_SERVER
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 76f9ce705f..53f681bbb2 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -653,6 +653,7 @@ menu "Supported hypercall interfaces"
 
 config SYSCTL
        bool "Enable sysctl hypercall"
+       depends on !PV_SHIM_EXCLUSIVE
        default y
        help
          This option shall only be disabled on some dom0less systems, or
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.