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@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Penny Zheng authored and Stefano Stabellini committed 2025-07-16 17:36:38 -07:00
1 parent e381320b0f
commit 568f806cba
3 files changed
+1 -6

No files matched your search

-4
View File
@@ -303,8 +303,6 @@ config PV_SHIM_EXCLUSIVE
If unsure, say N. If unsure, say N.
if !PV_SHIM_EXCLUSIVE
config HYPERV_GUEST config HYPERV_GUEST
bool "Hyper-V Guest" bool "Hyper-V Guest"
select GUEST select GUEST
@@ -313,8 +311,6 @@ config HYPERV_GUEST
If unsure, say N. If unsure, say N.
endif
config REQUIRE_NX config REQUIRE_NX
bool "Require NX (No eXecute) support" bool "Require NX (No eXecute) support"
help help
-1
View File
@@ -1,6 +1,5 @@
menuconfig HVM menuconfig HVM
bool "HVM support" bool "HVM support"
depends on !PV_SHIM_EXCLUSIVE
default !PV_SHIM default !PV_SHIM
select COMPAT select COMPAT
select IOREQ_SERVER select IOREQ_SERVER
+1 -1
View File
@@ -3,7 +3,7 @@ config VIDEO
bool bool
config VGA config VGA
bool "VGA support" if !PV_SHIM_EXCLUSIVE bool "VGA support"
select VIDEO select VIDEO
depends on X86 depends on X86
default y if !PV_SHIM_EXCLUSIVE default y if !PV_SHIM_EXCLUSIVE
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.