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 <jiqian.c...@amd.com> --- cc: Andrew Cooper <andrew.coop...@citrix.com> cc: Anthony PERARD <anthony.per...@vates.tech> cc: Michal Orzel <michal.or...@amd.com> cc: Jan Beulich <jbeul...@suse.com> cc: Julien Grall <jul...@xen.org> cc: "Roger Pau Monné" <roger....@citrix.com> cc: Stefano Stabellini <sstabell...@kernel.org> --- 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