KVM: selftests: virt_map should take npages, not size
authorAndrew Jones <drjones@redhat.com>
Fri, 13 Mar 2020 15:56:43 +0000 (16:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:59:06 +0000 (17:59 +0100)
commitbeca54702dc694970dd9727dde59cf5f56c4dbd8
tree4e2ccd5133b509daceea0627ffabbcc935352723
parentd0aac3320d1f15ae2113ddf210945c3686951330
KVM: selftests: virt_map should take npages, not size

Also correct the comment and prototype for vm_create_default(),
as it takes a number of pages, not a size.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/dirty_log_test.c
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/x86_64/set_memory_region_test.c
tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c