Re: [PATCH 2/3] xen: replace XENFEAT_auto_translated_physmap with xen_pv_domain()

From: Jason Andryuk
Date: Wed Aug 27 2025 - 10:00:08 EST


On 2025-08-26 10:56, Juergen Gross wrote:
Instead of testing the XENFEAT_auto_translated_physmap feature, just
use !xen_pv_domain() which is equivalent.

This has the advantage that a kernel not built with CONFIG_XEN_PV
will be smaller due to dead code elimination.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>