Skip to content
Commit 1c300a40 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86, kvm: cache the base of the KVM cpuid leaves

It is unnecessary to go through hypervisor_cpuid_base every time
a leaf is found (which will be every time a feature is requested
after the next patch).

Fixes: 1085ba7f


Cc: stable@vger.kernel.org
Cc: mtosatti@redhat.com
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 5f66b620
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment