linux/tools/testing/selftests/kvm/include
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
..
aarch64 kvm: selftests: introduce aarch64_vcpu_add_default 2019-06-05 14:14:45 +02:00
s390x KVM: selftests: Add processor code for s390x 2019-06-04 14:05:38 +02:00
x86_64 selftests: KVM: Remove unused x86_register enum 2020-02-12 20:09:45 +01:00
evmcs.h selftests: kvm: provide common function to enable eVMCS 2019-08-15 09:16:02 +02:00
kvm_util.h KVM: selftests: Introduce num-pages conversion utilities 2020-02-24 20:05:23 +01:00
sparsebit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00