On 23.07.2025 08:52, Penny Zheng wrote:
> Since we move "!PV_SHIM_EXCLUSIVE" dependency from CONFIG_HVM, there is
> a chance that a randconfig picking both PV_SHIM_EXCLUSIVE=y and HVM=y results
> in hvm.c being built, but monitor.c not being built, which leaves
> functions like monitor_traps(), etc, undefined, causing linking to fail.
> So we move monitor.o out of PV_SHIM_EXCLUSIVE condition to fix above linking
> failure.
>
> Fixes: 568f806cba4c ("xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"")
> Reported-by: Jan Beulich <[email protected]>
> Signed-off-by: Penny Zheng <[email protected]>
Acked-by: Jan Beulich <[email protected]>