mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
common: Make livepatch dependent on HAS_VMAP
While technically possible to support live-patching on MPU systems, today the code depends on vmap. However, this relationship is not reflected in Kconfig and allows to enable live-patching on MPU, where HAS_VMAP is not selected. Signed-off-by: Michal Orzel <michal.orzel@amd.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
a084862317
commit
aeea3fd341
1 file changed
+1
-1
+1
-1
@@ -477,7 +477,7 @@ config CRYPTO
|
||||
config LIVEPATCH
|
||||
bool "Live patching support"
|
||||
default X86
|
||||
depends on "$(XEN_HAS_BUILD_ID)" = "y" && SYSCTL
|
||||
depends on "$(XEN_HAS_BUILD_ID)" = "y" && SYSCTL && HAS_VMAP
|
||||
select CC_SPLIT_SECTIONS
|
||||
help
|
||||
Allows a running Xen hypervisor to be dynamically patched using
|
||||
|
||||