summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 11:31:16 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 10:18:05 -0400
commit47a7c924b62de4b9d1752c1f5bc111c847229799 (patch)
treeb94a4e579fe190cc455bd163c4f85ac6543819e5 /tools/perf/scripts/python
parent21c6ee2b3ac25b36cba22a2c725382ff7706dc95 (diff)
downloadlinux-47a7c924b62de4b9d1752c1f5bc111c847229799.tar.gz
linux-47a7c924b62de4b9d1752c1f5bc111c847229799.zip
KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existence
Add vcpu_get() to wrap vcpu_find() and deduplicate a pile of code that asserts the requested vCPU exists. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions