KVM: selftests: Make the number of vcpus global
authorAndrew Jones <drjones@redhat.com>
Wed, 4 Nov 2020 21:23:53 +0000 (22:23 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 8 Nov 2020 11:04:03 +0000 (06:04 -0500)
commit3be18630954672b889186e7be9b631f00134e954
treec0012987f30181b2eff78dd66e440dac4fe13f9f
parent6769155fece2100506e22161945712afae61769f
KVM: selftests: Make the number of vcpus global

We also check the input number of vcpus against the maximum supported.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20201104212357.171559-8-drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/include/perf_test_util.h