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

[xen master] common: Make livepatch dependent on HAS_VMAP



commit aeea3fd3415b02c170c7b6bb44dabab2cdb6ccad
Author:     Michal Orzel <michal.orzel@xxxxxxx>
AuthorDate: Thu Jul 31 10:05:22 2025 +0200
Commit:     Michal Orzel <michal.orzel@xxxxxxx>
CommitDate: Thu Jul 31 13:15:13 2025 +0200

    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@xxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 2539a635f1..16936418a6 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -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
--
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®.