KVM: arm64: selftests: Move finalize_vcpu back to run_test
authorHaibo Xu <haibo1.xu@intel.com>
Tue, 25 Jul 2023 08:41:35 +0000 (16:41 +0800)
committerAnup Patel <anup@brainfault.org>
Wed, 9 Aug 2023 06:45:16 +0000 (12:15 +0530)
commite85660338f2b1f20981f2a343a33db75255942a7
treeaad1547a605fcb79642acb1199f3bcda8eecb4fa
parent90a6bcbc542d0d61f50eeb85952e4fc49dbf3841
KVM: arm64: selftests: Move finalize_vcpu back to run_test

No functional changes. Just move the finalize_vcpu call back to
run_test and do weak function trick to prepare for the opration
in riscv.

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