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

[xen master] xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"



commit 568f806cba4cf407db890f9984ea06b1911f46fe
Author:     Penny Zheng <Penny.Zheng@xxxxxxx>
AuthorDate: Fri Jul 11 12:31:57 2025 +0800
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Wed Jul 16 17:36:38 2025 -0700

    xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"
    
    Remove all "depends on !PV_SHIM_EXCLUSIVE" (also the functionally
    equivalent "if !...") in Kconfig file, since negative dependancy will badly
    affect allyesconfig. Although "if !PV_SHIM_EXCLUSIVE" for CONFIG_VGA is not
    truly a dependency, setting PV_SHIM_EXCLUSIVE y still makes it 
unconfigurable.
    So we remove it here too
    
    Add "#CONFIG_xxx is not set" for above options in presets for x86 PV shim, 
as
    the explicit declaration is to ephasize setting for the shim is different
    from the general default.
    
    Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/arch/x86/Kconfig      | 4 ----
 xen/arch/x86/hvm/Kconfig  | 1 -
 xen/drivers/video/Kconfig | 2 +-
 3 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 9ec0fb0bed..a45ce106e2 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -303,8 +303,6 @@ config PV_SHIM_EXCLUSIVE
 
          If unsure, say N.
 
-if !PV_SHIM_EXCLUSIVE
-
 config HYPERV_GUEST
        bool "Hyper-V Guest"
        select GUEST
@@ -313,8 +311,6 @@ config HYPERV_GUEST
 
          If unsure, say N.
 
-endif
-
 config REQUIRE_NX
        bool "Require NX (No eXecute) support"
        help
diff --git a/xen/arch/x86/hvm/Kconfig b/xen/arch/x86/hvm/Kconfig
index 2def0f98e2..b903764bda 100644
--- a/xen/arch/x86/hvm/Kconfig
+++ b/xen/arch/x86/hvm/Kconfig
@@ -1,6 +1,5 @@
 menuconfig HVM
        bool "HVM support"
-       depends on !PV_SHIM_EXCLUSIVE
        default !PV_SHIM
        select COMPAT
        select IOREQ_SERVER
diff --git a/xen/drivers/video/Kconfig b/xen/drivers/video/Kconfig
index 245030beea..0a51e87eb2 100644
--- a/xen/drivers/video/Kconfig
+++ b/xen/drivers/video/Kconfig
@@ -3,7 +3,7 @@ config VIDEO
        bool
 
 config VGA
-       bool "VGA support" if !PV_SHIM_EXCLUSIVE
+       bool "VGA support"
        select VIDEO
        depends on X86
        default y if !PV_SHIM_EXCLUSIVE
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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