linux/tools/testing/selftests/kvm
Vitaly Kuznetsov 56fc773203 KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() too
Similar to vm_vaddr_alloc(), virt_map() needs to reflect the mapping
in vm->vpages_mapped.

While on it, remove unneeded code wrapping in vm_vaddr_alloc().

Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-35-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-11-18 13:07:59 -05:00
..
aarch64 KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
include KVM: selftests: Hyper-V PV IPI selftest 2022-11-18 13:07:58 -05:00
lib KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() too 2022-11-18 13:07:59 -05:00
s390x KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
x86_64 KVM: selftests: Hyper-V PV IPI selftest 2022-11-18 13:07:58 -05:00
.gitignore KVM: selftests: Hyper-V PV IPI selftest 2022-11-18 13:07:58 -05:00
access_tracking_perf_test.c KVM: selftests: Rename perf_test_util symbols to memstress 2022-11-16 10:58:32 -08:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Rename perf_test_util symbols to memstress 2022-11-16 10:58:32 -08:00
dirty_log_perf_test.c KVM: selftests: Rename perf_test_util symbols to memstress 2022-11-16 10:58:32 -08:00
dirty_log_test.c KVM: selftests: Drop now-unnecessary ucall_uninit() 2022-11-16 16:58:53 -08:00
hardware_disable_test.c KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create() 2022-06-11 11:47:26 -04:00
kvm_binary_stats_test.c selftests: KVM: Add exponent check for boolean stats 2022-08-01 08:01:23 -04:00
kvm_create_max_vcpus.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
kvm_page_table_test.c KVM: selftests: Drop now-unnecessary ucall_uninit() 2022-11-16 16:58:53 -08:00
Makefile KVM: selftests: Hyper-V PV IPI selftest 2022-11-18 13:07:58 -05:00
max_guest_memory_test.c KVM: selftests: Add atoi_positive() and atoi_non_negative() for input validation 2022-11-16 10:03:24 -08:00
memslot_modification_stress_test.c KVM: selftests: Rename perf_test_util symbols to memstress 2022-11-16 10:58:32 -08:00
memslot_perf_test.c KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
rseq_test.c KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
set_memory_region_test.c KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
settings selftests: kvm: Raise the default timeout to 120 seconds 2021-02-09 08:17:08 -05:00
steal_time.c KVM: selftests: Automatically do init_ucall() for non-barebones VMs 2022-11-16 16:58:51 -08:00
system_counter_offset_test.c KVM: selftests: Automatically do init_ucall() for non-barebones VMs 2022-11-16 16:58:51 -08:00