diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-16 09:56:24 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:47:04 -0400 |
commit | f742d94ff4e5147e08b3bb7826f009eda7545124 (patch) | |
tree | 98deb5aec5f470863413acd06a0eaeac6d6b3eb3 /tools/testing/selftests/kvm/kvm_binary_stats_test.c | |
parent | 1422efd6bb75e4ae038432449bf9229d6be8e0b4 (diff) | |
download | linux-f742d94ff4e5147e08b3bb7826f009eda7545124.tar.gz linux-f742d94ff4e5147e08b3bb7826f009eda7545124.tar.bz2 linux-f742d94ff4e5147e08b3bb7826f009eda7545124.zip |
KVM: selftests: Rename vm_vcpu_add* helpers to better show relationships
Rename vm_vcpu_add() to __vm_vcpu_add(), and vm_vcpu_add_default() to
vm_vcpu_add() to show the relationship between the newly minted
vm_vcpu_add() and __vm_vcpu_add().
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
-rw-r--r-- | tools/testing/selftests/kvm/kvm_binary_stats_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/kvm_binary_stats_test.c b/tools/testing/selftests/kvm/kvm_binary_stats_test.c index edeb08239036..407e9ea8e6f3 100644 --- a/tools/testing/selftests/kvm/kvm_binary_stats_test.c +++ b/tools/testing/selftests/kvm/kvm_binary_stats_test.c @@ -223,7 +223,7 @@ int main(int argc, char *argv[]) for (i = 0; i < max_vm; ++i) { vms[i] = vm_create_barebones(); for (j = 0; j < max_vcpu; ++j) - vm_vcpu_add(vms[i], j); + __vm_vcpu_add(vms[i], j); } /* Check stats read for every VM and VCPU */ |