diff options
author | Sean Christopherson <seanjc@google.com> | 2024-11-28 04:33:57 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 01:19:53 +0300 |
commit | 6174004ebd2508556204255757fd77fbc10009f9 (patch) | |
tree | df46a95bf85c08375580f05d80905d7f6c58284b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5c8de4b3a5bc4dc6a1a8afd46ff5d58beebb6356 (diff) | |
download | linux-6174004ebd2508556204255757fd77fbc10009f9.tar.xz |
KVM: x86: Add a macro to init CPUID features that KVM emulates in software
Now that kvm_cpu_cap_init() is a macro with its own scope, add EMUL_F() to
OR-in features that KVM emulates in software, i.e. that don't depend on
the feature being available in hardware. The contained scope
of kvm_cpu_cap_init() allows using a local variable to track the set of
emulated leaves, which in addition to avoiding confusing and/or
unnecessary variables, helps prevent misuse of EMUL_F().
Link: https://lore.kernel.org/r/20241128013424.4096668-31-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