summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/include
diff options
context:
space:
mode:
authorBen Gardon <bgardon@google.com>2020-01-23 10:04:33 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:57:05 +0100
commit018494e6d8234c420e4f7236f502993df5584812 (patch)
treec12b5b8104f9ca2e77e8679f013326a3740aa956 /tools/testing/selftests/kvm/include
parent9bbf24744e12bb6b9b32e30917b07f9242cc0341 (diff)
KVM: selftests: Support multiple vCPUs in demand paging test
Most VMs have multiple vCPUs, the concurrent execution of which has a substantial impact on demand paging performance. Add an option to create multiple vCPUs to each access disjoint regions of memory. Signed-off-by: Ben Gardon <bgardon@google.com> [guest_code() can't return, use GUEST_ASSERT(). Ensure the number of guests pages is compatible with the host.] Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/include')
0 files changed, 0 insertions, 0 deletions