aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/kvm_binary_stats_test.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-02-16 13:53:23 -0800
committerPaolo Bonzini <[email protected]>2022-06-11 11:47:21 -0400
commit5260db3eb8f96c0dc631b0f41035a5f1957d9a58 (patch)
tree66272430d03639e2957b5b6e66903a8305dde97f /tools/testing/selftests/kvm/kvm_binary_stats_test.c
parent64a1aacc89700f675c7648b0962519f57630b62a (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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
0 files changed, 0 insertions, 0 deletions