]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert arch_timer away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 19:40:33 +0000 (11:40 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:07 +0000 (11:47 -0400)
commitcaf28e98d03f50f598e16f2246c2eadb7fc77109
tree7383dd87b0974946a4b68bd12949579eaf0a8024
parent88553402cb7c6f638e5d930127fbb22e550d9501
KVM: selftests: Convert arch_timer away from VCPU_ID

Convert arch_timer to use vm_create_with_vcpus() and pass around a
'struct kvm_vcpu' object instead of requiring that the index into the
array of vCPUs for a given vCPU is also the ID of the vCPU

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/aarch64/arch_timer.c