KVM: selftests: document the default implementation of vm_vaddr_populate_bitmap
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Dec 2022 10:36:53 +0000 (05:36 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Dec 2022 11:00:49 +0000 (06:00 -0500)
commitfeb84f6daa7e7d51444d13fa65df7d5562fd0075
tree7641ca1f30e36e72f660c62f2d296f48b0dec054
parent2f5213b8fc311eaa8fc78de7ecbd27ead027993c
KVM: selftests: document the default implementation of vm_vaddr_populate_bitmap

Explain the meaning of the bit manipulations of vm_vaddr_populate_bitmap.
These correspond to the "canonical addresses" of x86 and other
architectures, but that is not obvious.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/kvm_util.c