On 21.11.2025 11:57, Penny Zheng wrote: > The following functions, scattered in common/domain.c, and are only referenced > and responsible for domctl-op: > - domain_pause_by_systemcontroller > - domain_resume > - domain_set_node_affinity > So they shall be wrapped with CONFIG_MGMT_HYPERCALLS. Otherwise it will > become unreachable codes when MGMT_HYPERCALLS=n, and hence violating Misra > rule 2.1. > Move them together to avoid scattering #ifdef. > > Signed-off-by: Penny Zheng <[email protected]>
Acked-by: Jan Beulich <[email protected]> I again think though that the title doesn't quite get it. While "consolidate" may be fine here, I'd like to suggest s/with/towards/ or some such. Jan
