diff options
| author | Sean Christopherson <[email protected]> | 2022-06-14 20:06:47 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2022-07-13 18:14:16 -0700 |
| commit | c41880b5f040120fc27eb2305a0ab3f179c89f9a (patch) | |
| tree | 5706b98b5128d4d2eb8b45793f549589c5dfa3e1 /tools/perf/scripts/python | |
| parent | 662162fed26137651cc69971555c3f5a984345d7 (diff) | |
KVM: selftests: Add helpers to get and modify a vCPU's CPUID entries
Add helpers to get a specific CPUID entry for a given vCPU, and to toggle
a specific CPUID-based feature for a vCPU. The helpers will reduce the
amount of boilerplate code needed to tweak a vCPU's CPUID model, improve
code clarity, and most importantly move tests away from modifying the
static "cpuid" returned by kvm_get_supported_cpuid().
Signed-off-by: Sean Christopherson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions