]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfd38517e3604457161927315808ea49205213cd
tree90566b13abb2092816906c415af86e914c61d374
parent03ff4065223e50b04d8918b88ffbaf703c96014b
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