KVM: arm64: selftests: Rename vcpu_config and add to kvm_util.h
authorAndrew Jones <ajones@ventanamicro.com>
Tue, 25 Jul 2023 08:41:30 +0000 (16:41 +0800)
committerAnup Patel <anup@brainfault.org>
Tue, 8 Aug 2023 16:12:06 +0000 (21:42 +0530)
commit9177b715cdccdfd6711511440cf43b8be6e28c6c
tree0d356ec5730a027d15b97731366809c788144188
parentc2b5aa7aebbae018edd988e9815087abf72e526b
KVM: arm64: selftests: Rename vcpu_config and add to kvm_util.h

Rename vcpu_config to vcpu_reg_list to be more specific and add
it to kvm_util.h. While it may not get used outside get-reg-list
tests, exporting it doesn't hurt, as long as it has a unique enough
name. This is a step in the direction of sharing most of the get-
reg-list test code between architectures.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/aarch64/get-reg-list.c
tools/testing/selftests/kvm/include/kvm_util_base.h