linux/tools/testing/selftests/kvm/lib
Andrew Jones 0aa9ec45d4 KVM: selftests: Introduce vm_create_[default_]_with_vcpus
Introduce new vm_create variants that also takes a number of vcpus,
an amount of per-vcpu pages, and optionally a list of vcpuids. These
variants will create default VMs with enough additional pages to
cover the vcpu stacks, per-vcpu pages, and pagetable pages for all.
The new 'default' variant uses VM_MODE_DEFAULT, whereas the other
new variant accepts the mode as a parameter.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20201111122636.73346-6-drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-15 09:49:20 -05:00
..
aarch64 KVM: selftests: Make vm_create_default common 2020-11-15 09:49:19 -05:00
s390x KVM: selftests: Make vm_create_default common 2020-11-15 09:49:19 -05:00
x86_64 KVM: selftests: Make vm_create_default common 2020-11-15 09:49:19 -05:00
assert.c KVM: selftests: Use consistent message for test skipping 2020-03-16 17:59:05 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util_internal.h KVM: selftests: Add dirty ring buffer test 2020-11-15 09:49:17 -05:00
kvm_util.c KVM: selftests: Introduce vm_create_[default_]_with_vcpus 2020-11-15 09:49:20 -05:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00