aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-02-16 21:53:23 +0000
committerPaolo Bonzini <[email protected]>2022-06-11 15:47:21 +0000
commit5260db3eb8f96c0dc631b0f41035a5f1957d9a58 (patch)
tree66272430d03639e2957b5b6e66903a8305dde97f /tools/testing/selftests/kvm/lib/perf_test_util.c
parentKVM: selftests: Remove vcpu_get() usage from dirty_log_test (diff)
downloadkernel-5260db3eb8f96c0dc631b0f41035a5f1957d9a58.tar.gz
kernel-5260db3eb8f96c0dc631b0f41035a5f1957d9a58.zip
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/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions