diff options
author | 2024-11-27 17:34:09 -0800 | |
---|---|---|
committer | 2024-12-18 14:20:07 -0800 | |
commit | ff402f56e8eb21d65c73e559fb5db5a00cedb14a (patch) | |
tree | c81cf9e13ac05f5048ddc06bd843e6d3c54cdf17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Initialize guest cpu_caps based on guest CPUID (diff) | |
download | linux-rng-ff402f56e8eb21d65c73e559fb5db5a00cedb14a.tar.xz linux-rng-ff402f56e8eb21d65c73e559fb5db5a00cedb14a.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions