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. > > While at it also short circuit the main detection loop: For PV, only > the base group of leaves can possibly hold hypervisor information. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Wei Liu <w...@xen.org>