kvm: selftests: introduce aarch64_vcpu_setup
authorAndrew Jones <drjones@redhat.com>
Mon, 27 May 2019 14:31:40 +0000 (16:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jun 2019 12:13:38 +0000 (14:13 +0200)
commitf5dd4ccf5552d71a817d0ec97481e4a71425a038
tree5460203d675d2ecb32faff5675177442dd6b605a
parent837ec79b4cf4ec89d814166a71a7d679dda04736
kvm: selftests: introduce aarch64_vcpu_setup

This allows aarch64 tests to run on more targets, such as the Arm
simulator that doesn't like KVM_ARM_TARGET_GENERIC_V8. And it also
allows aarch64 tests to provide vcpu features in struct kvm_vcpu_init.
Additionally it drops the unused memslot parameters.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/aarch64/processor.h
tools/testing/selftests/kvm/lib/aarch64/processor.c