diff options
| author | Sean Christopherson <[email protected]> | 2020-03-02 15:56:30 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:58:14 +0100 |
| commit | 4c61534aaae2a170bf0abd72676624fd3fabc655 (patch) | |
| tree | 9221e5263bab4b11f566e71da31e7403f95d5697 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5e12b2bb34e9fb81d6942f9d300e6d259cc15431 (diff) | |
KVM: x86: Introduce cpuid_entry_{get,has}() accessors
Introduce accessors to retrieve feature bits from CPUID entries and use
the new accessors where applicable. Using the accessors eliminates the
need to manually specify the register to be queried at no extra cost
(binary output is identical) and will allow adding runtime consistency
checks on the function and index in a future patch.
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions