Commit 416a33c9 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Juergen Gross
Browse files

x86/cpu: fix unbootable VMs by inlining memcmp() in hypervisor_cpuid_base()



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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Acked-by: default avatarJuergen Gross <jgross@suse.com>
Message-ID: <20240802154253.482658-2-adobriyan@gmail.com>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 661362e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment