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).

Signed-off-by: Eva Kurchatova <[email protected]>

https://virtuozzo.atlassian.net/browse/VSTOR-134732
Feature: fix kunit
---
 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.54.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to