diff options
author | Jinrong Liang <cloudliang@tencent.com> | 2024-01-09 15:02:32 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-30 15:28:03 -0800 |
commit | d7e68738e1aae940b54bfc03313e0ef5720e2e71 (patch) | |
tree | e064500598ae9fbd5cfaa098434738088e186821 /tools/perf/scripts/python/stackcollapse.py | |
parent | a634c76b2c1a642d11f5d6e1810181daedcbe0ab (diff) |
KVM: selftests: Add vcpu_set_cpuid_property() to set properties
Add vcpu_set_cpuid_property() helper function for setting properties, and
use it instead of open coding an equivalent for MAX_PHY_ADDR. Future vPMU
testcases will also need to stuff various CPUID properties.
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Jinrong Liang <cloudliang@tencent.com>
Co-developed-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions