On 30.07.2025 12:38, Petr Beneš wrote:
> From: Petr Beneš <w1be...@gmail.com>
> 
> Remove the no‑op stubs from the ARM, PPC, and RISC‑V p2m headers and stop
> providing a stub in arch/x86/include/asm/p2m.h.
> 
> Declare p2m_altp2m_check() in xen/include/xen/p2m-common.h and gate all
> call sites with CONFIG_ALTP2M:
>  - wrap the fast_single_step block in hvm/monitor.c with #ifdef CONFIG_ALTP2M
>    (IS_ENABLED(CONFIG_ALTP2M) is not used here, because in the following 
> commit

s/following/subsequent/ - the series may go in piecemeal, after all.

>    hvm_vcpu::fast_single_step will be guarded by CONFIG_ALTP2M)
>  - make the vm_event.c path conditional via IS_ENABLED(CONFIG_ALTP2M)
> 
> No functional change intended: on builds without ALTP2M the calls are
> compiled out; on builds with ALTP2M behavior is unchanged.
> 
> Signed-off-by: Petr Beneš <w1be...@gmail.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>

Happy to make the adjustment while committing, provided other necessary
acks trickle in.

Jan

Reply via email to