On Wed, 10 Sep 2025, Penny Zheng wrote: > One usage of function domain_resume() is in domain resume domctl-op, and > the other is in domain_soft_reset(), which is already guarded with > CONFIG_MGMT_HYPERCALLS. > So we could wrap domain_soft_reset() with CONFIG_MGMT_HYPERCALLS. > > Wrap XEN_DOMCTL_resumedomain-case transiently with CONFIG_MGMT_HYPERCALLS, and > it will be removed when introducing CONFIG_MGMT_HYPERCALLS on the > common/domctl.c in the last. > > Signed-off-by: Penny Zheng <penny.zh...@amd.com>
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>