linux/tools/testing/selftests/kvm
Sean Christopherson c472df1ac3 KVM: selftests: Add a VM backpointer to 'struct vcpu'
Add a backpointer to 'struct vcpu' so that tests can get at the owning
VM when passing around a vCPU object.  Long term, this will be little
more than a nice-to-have feature, but in the short term it is a critical
step toward purging the VM+vcpu_id ioctl mess without introducing even
more churn.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-06-11 11:46:25 -04:00
..
aarch64 KVM: selftests: Dedup vgic_init's asserts and improve error messages 2022-06-11 11:46:24 -04:00
include KVM: selftests: Add a VM backpointer to 'struct vcpu' 2022-06-11 11:46:25 -04:00
lib KVM: selftests: Add a VM backpointer to 'struct vcpu' 2022-06-11 11:46:25 -04:00
s390x KVM: selftests: Add another underscore to inner ioctl() helpers 2022-06-11 10:14:58 -04:00
x86_64 KVM: selftests: Get rid of kvm_util_internal.h 2022-06-11 11:46:19 -04:00
.gitignore KVM: selftests: Add a test to get/set triple fault event 2022-06-08 05:21:13 -04:00
access_tracking_perf_test.c KVM: selftests: Move vCPU thread creation and joining to common helpers 2021-11-16 07:43:28 -05:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errors 2022-06-11 10:21:07 -04:00
dirty_log_perf_test.c KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2 2022-06-09 10:52:27 -04:00
dirty_log_test.c KVM: selftests: Add __vcpu_run() helper 2022-06-11 10:15:35 -04:00
hardware_disable_test.c KVM: selftests: Drop @mode from common vm_create() helper 2022-06-11 10:15:10 -04:00
kvm_binary_stats_test.c KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpers 2022-06-11 10:19:56 -04:00
kvm_create_max_vcpus.c KVM: selftests: Drop @mode from common vm_create() helper 2022-06-11 10:15:10 -04:00
kvm_page_table_test.c KVM: selftests: Silence compiler warning in the kvm_page_table_test 2022-04-21 13:16:14 -04:00
Makefile Merge branch 'kvm-5.20-early' 2022-06-09 11:38:12 -04:00
max_guest_memory_test.c KVM: selftests: Replace x86_page_size with PG_LEVEL_XX 2022-06-09 10:52:22 -04:00
memslot_modification_stress_test.c KVM: selftests: Use perf_test_destroy_vm in memslot_modification_stress_test 2021-11-16 07:43:28 -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 KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpers 2022-06-11 10:19:56 -04:00
settings selftests: kvm: Raise the default timeout to 120 seconds 2021-02-09 08:17:08 -05:00
steal_time.c KVM: selftests: Add another underscore to inner ioctl() helpers 2022-06-11 10:14:58 -04:00
system_counter_offset_test.c KVM: selftests: Split get/set device_attr helpers 2022-06-11 11:46:23 -04:00