From: Stefano Stabellini <stefano.stabell...@amd.com>

We intend to introduces a new Kconfig CONFIG_SYSCTL, which shall only
be disabled on some dom0less systems, to reduce Xen footprint.

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>
---
v1 -> v2:
- complement missing commit message
- re-placing the kconfig at the file end
- complement a "help" statement
---
 xen/common/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index a6aa2c5c14..fe9303c7c1 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -545,4 +545,15 @@ config BUDDY_ALLOCATOR_SIZE
          Amount of memory reserved for the buddy allocator to serve Xen heap,
          working alongside the colored one.
 
+menu "Supported hypercall interfaces"
+       visible if EXPERT
+
+config SYSCTL
+       bool "Enable sysctl hypercall"
+       default y
+       help
+         This option shall only be disabled on some dom0less systems,
+         to reduce Xen footprint.
+endmenu
+
 endmenu
-- 
2.34.1


Reply via email to