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

The consequence of introducing "CONFIG_PLATFORM_OP=y" in .config file
generated from pvshim_defconfig is transient, which will be adjusted in
the final patch.

Signed-off-by: Jiqian Chen <[email protected]>
---
cc: Andrew Cooper <[email protected]>
cc: Anthony PERARD <[email protected]>
cc: Michal Orzel <[email protected]>
cc: Jan Beulich <[email protected]>
cc: Julien Grall <[email protected]>
cc: "Roger Pau MonnĂ©" <[email protected]>
cc: Stefano Stabellini <[email protected]>
---
 xen/common/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 2539a635f111..1a8f5ec93364 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 PLATFORM_OP
+       bool "Enable Platform Operation hypercall"
+       default y
+
 endmenu
 
 config PM_OP
-- 
2.34.1


Reply via email to