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

KVM: cpuid: set struct kvm_cpuid_entry2 flags in do_cpuid_1_ent



do_cpuid_1_ent is typically called in two places by __do_cpuid_func
for CPUID functions that have subleafs.  Both places have to set
the KVM_CPUID_FLAG_SIGNIFCANT_INDEX.  Set that flag, and
KVM_CPUID_FLAG_STATEFUL_FUNC as well, directly in do_cpuid_1_ent.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 54d360d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment