From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Khorenko Date: Fri, 21 Aug 2026 18:36:51 +0200 Subject: [Devel] [PATCH vz10 05/32] ve: source Kconfig.openvz from arch/um/Kconfig In-Reply-To: <20260821163718.187766-1-khorenko@virtuozzo.com> References: <20260821163718.187766-1-khorenko@virtuozzo.com> Message-ID: <20260821163718.187766-6-khorenko@virtuozzo.com> List-Id: From: Eva Kurchatova kernel/Kconfig.openvz was only sourced from arch/x86/Kconfig, making CONFIG_VE unavailable on UML. Source it from arch/um/Kconfig so that VZ containers can be enabled when building under User-Mode Linux (needed for KUnit testing). CONFIG_VE is "default y", so this alone gives CONFIG_VE=y for a plain "make ARCH=um defconfig". That is what we want, but it also means every UML build from here on compiles the VZ code and trips over the x86-only parts of it; those are fixed up later in this series. The source line goes after the last endmenu of the file, like the x86 one, so that the OpenVZ menu does not end up nested inside another menu. Feature: fix KUnit tests https://virtuozzo.atlassian.net/browse/VSTOR-134732 Signed-off-by: Eva Kurchatova Signed-off-by: Konstantin Khorenko --- arch/um/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/um/Kconfig b/arch/um/Kconfig index c89575d05021..5e1b6d025773 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -252,3 +252,5 @@ menu "Power management options" source "kernel/power/Kconfig" endmenu + +source "kernel/Kconfig.openvz" -- 2.47.1