We introduce a new Kconfig CONFIG_DOMCTL, which shall only be disabled
on some dom0less systems or PV shim on x86, to reduce Xen footprint.

Making DOMCTL without prompt is transient and it will be adjusted in the final
patch. And the consequence of introducing "CONFIG_DOMCTL=y" in .config file
generated from pvshim_defconfig is transient too, which will also be adjusted
in the final patch.

Signed-off-by: Penny Zheng <penny.zh...@amd.com>
---
 xen/common/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 16936418a6..bf1850c154 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -627,6 +627,10 @@ config SYSCTL
          This option shall only be disabled on some dom0less systems, or
          PV shim on x86, to reduce Xen footprint.
 
+config DOMCTL
+       bool "Enable domctl hypercall"
+       def_bool y
+
 endmenu
 
 config PM_OP
-- 
2.34.1


Reply via email to