Re: [PATCH 2/3] x86/cpu: fix unbootable VMs by inlining memcmp() in hypervisor_cpuid_base()

From: Jürgen Groß
Date: Thu Aug 15 2024 - 09:32:44 EST


On 02.08.24 17:42, Alexey Dobriyan wrote:
If this memcmp() is not inlined then PVH early boot code can call
into KASAN-instrumented memcmp() which results in unbootable VMs:

pvh_start_xen
xen_prepare_pvh
xen_cpuid_base
hypervisor_cpuid_base
memcmp

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Acked-by: Juergen Gross <jgross@xxxxxxxx>


Juergen