KVM: selftests: Fix typo in vgic_init test
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 19:47:05 +0000 (11:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:14:40 +0000 (10:14 -0400)
commitff624e57d8dfb6c66ff8118aca7bad61d75428f0
tree90566b13abb2092816906c415af86e914c61d374
parent1ca378f65378864b33a0356478252bd49bf6ef86
KVM: selftests: Fix typo in vgic_init test

When iterating over vCPUs, invoke access_v3_redist_reg() on the "current"
vCPU instead of vCPU0, which is presumably what was intended by iterating
over all vCPUs.

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