Skip to content
Snippets Groups Projects
Commit 54d360d4 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: cpuid: extract do_cpuid_7_mask and support multiple subleafs


CPUID function 7 has multiple subleafs.  Instead of having nested
switch statements, move the logic to filter supported features to
a separate function, and call it for each subleaf.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent ab8bcf64
No related branches found
No related tags found
No related merge requests found
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