]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert get-reg-list away from its "VCPU_ID"
authorSean Christopherson <seanjc@google.com>
Fri, 18 Feb 2022 01:01:58 +0000 (17:01 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:17 +0000 (11:47 -0400)
commitced96baef8543f7e4b2f4687e67f5644fff51386
treea0eef98e21b823ff5fd4d21cbcd12e1d5c407e7b
parent5740192b2a6ba4aa8c3a752af2335a50e0ef1a3a
KVM: selftests: Convert get-reg-list away from its "VCPU_ID"

Track the vCPU's 'struct kvm_vcpu' object in get-reg-list instead of
hardcoding '0' everywhere.

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