]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert debug-exceptions away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 16:35:01 +0000 (08:35 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:00 +0000 (11:47 -0400)
commit44fa36353208f58d5ae44d0b2de2f707dfd59685
tree21c6abb5ca20c75fde49b1ae9e76c864f01ca575
parent372ad99db7914f8b7c6fa9b3cf6c8861709a713b
KVM: selftests: Convert debug-exceptions away from VCPU_ID

Convert debug-exceptions to use vm_create_with_one_vcpu() and pass around
a 'struct kvm_vcpu' object instead of using a global VCPU_ID.

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