diff options
author | Andrew Jones <drjones@redhat.com> | 2019-05-23 11:34:05 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-24 21:27:15 +0200 |
commit | bffed38d4fb536c5d5d6c37846a7fb8fde1452fa (patch) | |
tree | 640f14a9dff53f46fd5bde3224724e703d974ff5 /scripts/gdb/linux/clk.py | |
parent | 19ec166c3f39fe1d3789888a74cc95544ac266d4 (diff) |
kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size
The memory slot size must be aligned to the host's page size. When
testing a guest with a 4k page size on a host with a 64k page size,
then 3 guest pages are not host page size aligned. Since we just need
a nearly arbitrary number of extra pages to ensure the memslot is not
aligned to a 64 host-page boundary for this test, then we can use
16, as that's 64k aligned, but not 64 * 64k aligned.
Fixes: 76d58e0f07ec ("KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size", 2019-04-17)
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions