OpenCloudOS-Kernel/tools/testing/selftests/kvm
Sean Christopherson cf1d59300a KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation
Fill the per-vCPU args when creating the perf_test VM instead of having
the caller do so.  This helps ensure that any adjustments to the number
of pages (and thus vcpu_memory_bytes) are reflected in the per-VM args.
Automatically filling the per-vCPU args will also allow a future patch
to do the sync to the guest during creation.

Signed-off-by: Sean Christopherson <seanjc@google.com>
[Updated access_tracking_perf_test as well.]
Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20211111000310.1435032-12-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-11-16 07:43:27 -05:00
..
aarch64 Merge branch kvm-arm64/selftest/timer into kvmarm-master/next 2021-10-17 11:19:42 +01:00
include KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
lib KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
s390x KVM: selftests: sync_regs test for diag318 2020-12-10 13:36:05 +01:00
x86_64 KVM: selftests: Add event channel upcall support to xen_shinfo_test 2021-11-16 07:43:24 -05:00
.gitignore KVM/arm64 updates for Linux 5.16 2021-10-31 02:28:48 -04:00
Makefile KVM/arm64 updates for Linux 5.16 2021-10-31 02:28:48 -04:00
access_tracking_perf_test.c KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
dirty_log_perf_test.c KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
dirty_log_test.c KVM: selftests: Expose align() helpers to tests 2021-11-16 07:43:24 -05:00
hardware_disable_test.c KVM: selftests: Unconditionally use memslot 0 when loading elf binary 2021-06-24 04:31:17 -04:00
kvm_binary_stats_test.c KVM: selftests: Add checks for histogram stats bucket_size field 2021-08-20 16:06:32 -04:00
kvm_create_max_vcpus.c kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS 2021-09-30 04:27:05 -04:00
kvm_page_table_test.c KVM: selftests: Expose align() helpers to tests 2021-11-16 07:43:24 -05:00
memslot_modification_stress_test.c KVM: selftests: Fill per-vCPU struct during "perf_test" VM creation 2021-11-16 07:43:27 -05:00
memslot_perf_test.c KVM: selftests: Make memslot_perf_test arch independent 2021-10-21 11:36:34 +01:00
rseq_test.c KVM: selftests: Ensure all migrations are performed when test is affined 2021-09-30 04:25:57 -04:00
set_memory_region_test.c Merge tag 'kvm-s390-master-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD 2021-07-14 12:14:27 -04:00
settings selftests: kvm: Raise the default timeout to 120 seconds 2021-02-09 08:17:08 -05:00
steal_time.c x86: 2021-09-27 13:58:23 -07:00
system_counter_offset_test.c selftests: KVM: Introduce system counter offset test 2021-10-18 14:43:46 -04:00