Searched hist:"87 a802d93e7ef55216d8884fdf7e5f491a6fe501" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | dirty_log_test.c | diff 87a802d93e7ef55216d8884fdf7e5f491a6fe501 Fri Feb 14 08:59:20 CST 2020 Andrew Jones <drjones@redhat.com> 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 bffed38d4fb5 ("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>
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util.h | diff 87a802d93e7ef55216d8884fdf7e5f491a6fe501 Fri Feb 14 08:59:20 CST 2020 Andrew Jones <drjones@redhat.com> 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 bffed38d4fb5 ("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>
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | diff 87a802d93e7ef55216d8884fdf7e5f491a6fe501 Fri Feb 14 08:59:20 CST 2020 Andrew Jones <drjones@redhat.com> 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 bffed38d4fb5 ("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>
|