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

[xen staging] xen: fix randconfig build problems after introducing SYSCTL



commit 6c80f0dd1bbc1fd514bae0dfcba4bdea2125ed25
Author:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
AuthorDate: Wed Oct 22 16:21:30 2025 -0700
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Mon Oct 27 15:41:58 2025 -0700

    xen: fix randconfig build problems after introducing SYSCTL
    
    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>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
    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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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