summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-11-28 04:34:09 +0300
committerSean Christopherson <seanjc@google.com>2024-12-19 01:20:07 +0300
commitff402f56e8eb21d65c73e559fb5db5a00cedb14a (patch)
treec81cf9e13ac05f5048ddc06bd843e6d3c54cdf17 /tools/perf/scripts/python
parenta7a308f863a1b82a2940ef4e8de0feef0a65403e (diff)
downloadlinux-ff402f56e8eb21d65c73e559fb5db5a00cedb14a.tar.xz
KVM: x86: Extract code for generating per-entry emulated CPUID information
Extract the meat of __do_cpuid_func_emulated() into a separate helper, cpuid_func_emulated(), so that cpuid_func_emulated() can be used with a single CPUID entry. This will allow marking emulated features as fully supported in the guest cpu_caps without needing to hardcode the set of emulated features in multiple locations. No functional change intended. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20241128013424.4096668-43-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions