aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/set_memory_region_test.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-16 09:37:11 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:47:03 -0400
commit1422efd6bb75e4ae038432449bf9229d6be8e0b4 (patch)
tree42d25f0421baaeffb98cd65a604b508f83a80a11 /tools/testing/selftests/kvm/set_memory_region_test.c
parentKVM: selftests: Add "arch" to common utils that have arch implementations (diff)
downloadlinux-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 'tools/testing/selftests/kvm/set_memory_region_test.c')
0 files changed, 0 insertions, 0 deletions