From: Stefano Stabellini <stefano.stabell...@amd.com> We introduce a new Kconfig CONFIG_SYSCTL, which shall only be disabled on some dom0less systems or PV shim on x86, to reduce Xen footprint.
Making SYSCTL without prompt is transient and it will be adjusted in the final patch. And the consequence of introducing "CONFIG_SYSCTL=y" in .config file generated from pvshim_defconfig is transient too, which will also be adjusted in the final patch. Signed-off-by: Stefano Stabellini <stefano.stabell...@amd.com> Signed-off-by: Sergiy Kibrik <sergiy_kib...@epam.com> Signed-off-by: Penny Zheng <penny.zh...@amd.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- v2 -> v3: - remove "intend to" in commit message --- v3 -> v4: - introduce the option without prompt (simply "defbool y") to eliminate the need for transient "#ifdef CONFIG_SYSCTL" - calling out the transient scenario in commit message --- v4 -> v5: - a simple definition "def_bool y" for CONFIG_SYSCTL is enough here - refactor commit message - blank line ahead of endmenu --- xen/common/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xen/common/Kconfig b/xen/common/Kconfig index 867710134a..fb5c60517a 100644 --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -611,4 +611,12 @@ config SYSTEM_SUSPEND If unsure, say N. +menu "Supported hypercall interfaces" + visible if EXPERT + +config SYSCTL + def_bool y + +endmenu + endmenu -- 2.34.1