OSDN Git Service

kvm: selftests: aarch64: dirty_log_test: support greater than 40-bit IPAs
authorAndrew Jones <drjones@redhat.com>
Tue, 6 Nov 2018 13:57:12 +0000 (14:57 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:30 +0000 (11:28 +0100)
commit8cee58161efffcb5ba691c33fe4de3eb75cf46cb
treee72dd914d0ba66ab199878a551249f7f1a61df93
parentcdbd2428482486bcb2ab86dd7d99e8adec2b7c39
kvm: selftests: aarch64: dirty_log_test: support greater than 40-bit IPAs

When KVM has KVM_CAP_ARM_VM_IPA_SIZE we can test with > 40-bit IPAs by
using the 'type' field of KVM_CREATE_VM.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
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/lib/kvm_util_internal.h