KVM: selftests: Add check_steal_time_uapi() implementation for LoongArch
Sean Christopherson
reviewerPATCH 1/1 KVM: selftests: Add check_steal_time_uapi() implementation for LoongArch
Define check_steal_time_uapi() for LoongArch so that the steal_time test builds. Note, while LoongArch's steal_time_init() has some funky asserts, none of the code is uniquely verifying KVM's uAPI.
Cc Jiakai Xu <[email protected]>
Cc Jiakai Xu <[email protected]>
Cc Andrew Jones <[email protected]>
Cc Anup Patel <[email protected]>
Cc Tianrui Zhao <[email protected]>
Cc Bibo Mao <[email protected]>
Cc Huacai Chen <[email protected]>
Fixes 40351ed924dd ("KVM: selftests: Refactor UAPI tests into dedicated function")
Signed-off-by Sean Christopherson <[email protected]>
---
Paolo, if you can apply this directly, that would be ideal.
tools/testing/selftests/kvm/steal_time.c | 5 +++++ 1 file changed, 5 insertions(+)
tools/testing/selftests/kvm/steal_time.c +5 -0
@@ -461,6 +461,11 @@ static void steal_time_dump(struct kvm_vm *vm, uint32_t vcpu_idx)ksft_print_msg (" version: %d\n" , st->version); ksft_print_msg(" preempted: %d\n", st->preempted); } + +static void check_steal_time_uapi (void ) +{ + +}#endif static void *do_steal_time (void *arg)
base-commit: 6b802031877a995456c528095c41d1948546bf45
Signature · 1 line
2.54.0.rc1.555.g9c883467ad-goog
Queued, thanks.
Paolo