aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/aarch64/processor.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2020-03-10 10:15:54 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:59:02 +0100
commit425936246fbe11728ebd787e9199734f3edc2df4 (patch)
treeb66c8123c2d238037e098cb3029220acf1fa92f1 /tools/testing/selftests/kvm/lib/aarch64/processor.c
parentselftests: KVM: SVM: Add vmcall test to gitignore (diff)
downloadlinux-dev-425936246fbe11728ebd787e9199734f3edc2df4.tar.xz
linux-dev-425936246fbe11728ebd787e9199734f3edc2df4.zip
KVM: selftests: Share common API documentation
Move function documentation comment blocks to the header files in order to avoid duplicating them for each architecture. While at it clean up and fix up the comment blocks. Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/aarch64/processor.c')
-rw-r--r--tools/testing/selftests/kvm/lib/aarch64/processor.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/testing/selftests/kvm/lib/aarch64/processor.c b/tools/testing/selftests/kvm/lib/aarch64/processor.c
index ba2ff3241781..f84270f0e32c 100644
--- a/tools/testing/selftests/kvm/lib/aarch64/processor.c
+++ b/tools/testing/selftests/kvm/lib/aarch64/processor.c
@@ -334,23 +334,6 @@ void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code)
aarch64_vcpu_add_default(vm, vcpuid, NULL, guest_code);
}
-
-/* VM VCPU Args Set
- *
- * Input Args:
- * vm - Virtual Machine
- * vcpuid - VCPU ID
- * num - number of arguments
- * ... - arguments, each of type uint64_t
- *
- * Output Args: None
- *
- * Return: None
- *
- * Sets the first num function input arguments to the values
- * given as variable args. Each of the variable args is expected to
- * be of type uint64_t. The registers set by this function are r0-r7.
- */
void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...)
{
va_list ap;