summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 16:10:04 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:46:45 -0400
commitf323dbce3ba126f7b1dfeb7042c3b3037155aac2 (patch)
tree26312111e0a12364ba3e0fa19ebd9b0a40ef0794 /tools/perf/scripts/python
parent5c6e31b3bc4b526f872cca35a86169b3aa968259 (diff)
downloadlinux-f323dbce3ba126f7b1dfeb7042c3b3037155aac2.tar.gz
linux-f323dbce3ba126f7b1dfeb7042c3b3037155aac2.zip
KVM: selftests: Convert kvm_pv_test away from VCPU_ID
Convert kvm_pv_test to use vm_create_with_one_vcpu() and pass arounda 'struct kvm_vcpu' object instead of using a global VCPU_ID. Opportunistically use vcpu_run() instead of _vcpu_run() with an open coded assert that KVM_RUN succeeded. 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