]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17f295d0c62460c9bd28a72b97d0ec95fc27bd9f
tree5460203d675d2ecb32faff5675177442dd6b605a
parent252bfb7a41b9b42cee07e61ef722c6c64c8b7c89
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