diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-16 09:37:11 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:47:03 -0400 |
commit | 1422efd6bb75e4ae038432449bf9229d6be8e0b4 (patch) | |
tree | 42d25f0421baaeffb98cd65a604b508f83a80a11 /mm | |
parent | KVM: selftests: Add "arch" to common utils that have arch implementations (diff) | |
download | linux-dev-1422efd6bb75e4ae038432449bf9229d6be8e0b4.tar.xz linux-dev-1422efd6bb75e4ae038432449bf9229d6be8e0b4.zip |
KVM: selftests: Return created vcpu from vm_vcpu_add_default()
Return the created 'struct kvm_vcpu' object from vm_vcpu_add_default(),
which cleans up a few tests and will eventually allow removing vcpu_get()
entirely.
Opportunistically rename @vcpuid to @vcpu_id to follow preferred kernel
style.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions