diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-02-16 13:53:23 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:47:21 -0400 |
| commit | 5260db3eb8f96c0dc631b0f41035a5f1957d9a58 (patch) | |
| tree | 66272430d03639e2957b5b6e66903a8305dde97f /tools/testing/selftests/kvm/lib/riscv/processor.c | |
| parent | 64a1aacc89700f675c7648b0962519f57630b62a (diff) | |
KVM: selftests: Require vCPU output array when creating VM with vCPUs
Require the caller of __vm_create_with_vcpus() to provide a non-NULL
array of vCPUs now that all callers do so. It's extremely unlikely a
test will have a legitimate use case for creating a VM with vCPUs without
wanting to do something with those vCPUs, and if there is such a use case,
requiring that one-off test to provide a dummy array is a minor
annoyance.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/riscv/processor.c')
0 files changed, 0 insertions, 0 deletions