linux/tools/testing/selftests/kvm
Andrew Jones 87a802d93e KVM: selftests: Introduce num-pages conversion utilities
Guests and hosts don't have to have the same page size. This means
calculations are necessary when selecting the number of guest pages
to allocate in order to ensure the number is compatible with the
host. Provide utilities to help with those calculations and apply
them where appropriate.

We also revert commit bffed38d4f ("kvm: selftests: aarch64:
dirty_log_test: fix unaligned memslot size") and then use
vm_adjust_num_guest_pages() there instead.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-24 20:05:23 +01:00
..
include KVM: selftests: Introduce num-pages conversion utilities 2020-02-24 20:05:23 +01:00
lib KVM: selftests: Introduce num-pages conversion utilities 2020-02-24 20:05:23 +01:00
s390x selftests: KVM: testing the local IRQs resets 2020-01-31 13:17:21 +01:00
x86_64 selftests: KVM: SVM: Add vmcall test 2020-02-12 20:09:39 +01:00
.gitignore kvm: tests: Add test to verify MSR_IA32_XSS 2019-10-22 15:48:15 +02:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
dirty_log_test.c KVM: selftests: Introduce num-pages conversion utilities 2020-02-24 20:05:23 +01:00
kvm_create_max_vcpus.c selftests: kvm: Simplify loop in kvm_create_max_vcpus test 2019-11-15 11:44:12 +01:00
Makefile selftests: KVM: SVM: Add vmcall test 2020-02-12 20:09:39 +01:00