Re: [PATCH] xen-detect: make CPUID fallback CPUID-faulting aware

2020-10-14 Thread Wei Liu
On Wed, Oct 14, 2020 at 05:23:23PM +0200, Jan Beulich wrote: > Relying on presence / absence of hypervisor leaves in raw / escaped > CPUID output cannot be used to tell apart PV and HVM on CPUID faulting > capable hardware. Utilize a PV-only feature flag to avoid false positive > HVM detection. >

[PATCH] xen-detect: make CPUID fallback CPUID-faulting aware

2020-10-14 Thread Jan Beulich
Relying on presence / absence of hypervisor leaves in raw / escaped CPUID output cannot be used to tell apart PV and HVM on CPUID faulting capable hardware. Utilize a PV-only feature flag to avoid false positive HVM detection. While at it also short circuit the main detection loop: For PV, only th