diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-15 15:14:29 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:46:25 -0400 |
commit | c472df1ac318c1120f32cd4a70d202806be30c43 (patch) | |
tree | 97809d737f6966cb8f9e792acc0698718655b632 /tools/testing/selftests/kvm/lib/rbtree.c | |
parent | KVM: selftests: Dedup vgic_init's asserts and improve error messages (diff) | |
download | linux-dev-c472df1ac318c1120f32cd4a70d202806be30c43.tar.xz linux-dev-c472df1ac318c1120f32cd4a70d202806be30c43.zip |
KVM: selftests: Add a VM backpointer to 'struct vcpu'
Add a backpointer to 'struct vcpu' so that tests can get at the owning
VM when passing around a vCPU object. Long term, this will be little
more than a nice-to-have feature, but in the short term it is a critical
step toward purging the VM+vcpu_id ioctl mess without introducing even
more churn.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions