Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment