linux/tools/testing/selftests/kvm/lib
Oliver Upton 92c8191bb5 KVM: selftests: Mark correct page as mapped in virt_map()
The loop marks vaddr as mapped after incrementing it by page size,
thereby marking the *next* page as mapped. Set the bit in vpages_mapped
first instead.

Fixes: 56fc773203 ("KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() too")
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Message-Id: <20221209015307.1781352-4-oliver.upton@linux.dev>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-12-27 06:00:50 -05:00
..
aarch64 KVM: arm64: selftests: Don't identity map the ucall MMIO hole 2022-12-27 06:00:50 -05:00
riscv KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
s390x KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
x86_64 KVM: selftests: Fix a typo in x86-64's kvm_get_cpu_address_width() 2022-12-27 06:00:46 -05:00
assert.c KVM: selftests: Gracefully handle empty stack traces 2022-09-30 06:38:00 -04:00
elf.c KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
guest_modes.c KVM: selftests: Sanity check input to ioctls() at build time 2022-06-11 11:48:09 -04:00
io.c
kvm_util.c KVM: selftests: Mark correct page as mapped in virt_map() 2022-12-27 06:00:50 -05:00
memstress.c KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
rbtree.c
sparsebit.c
string_override.c KVM: selftests: Implement memcmp(), memcpy(), and memset() for guest use 2022-09-30 06:38:02 -04:00
test_util.c KVM: selftests: implement random number generator for guest code 2022-11-16 10:09:19 -08:00
ucall_common.c KVM: selftests: Use magic value to signal ucall_alloc() failure 2022-12-27 06:00:49 -05:00
userfaultfd_util.c KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00