diff options
author | Sean Christopherson <seanjc@google.com> | 2022-06-14 20:06:50 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-07-13 18:14:18 -0700 |
commit | 3a5d36b32bd26d88d8dfe8f1eff702e138ea18cd (patch) | |
tree | c99aa050506cb9c4ac9cbfde319a6b52c5617fcb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b78843be77968b1e5a071c7ed7fd8f3094e8f0a2 (diff) |
KVM: selftests: Use vcpu_get_cpuid_entry() in PV features test (sort of)
Add a new helper, vcpu_clear_cpuid_entry(), to do a RMW operation on the
vCPU's CPUID model to clear a given CPUID entry, and use it to clear
KVM's paravirt feature instead of operating on kvm_get_supported_cpuid()'s
static "cpuid" variable. This also eliminates a user of
the soon-be-defunct set_cpuid() helper.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-26-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions