]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add __vcpu_run() helper
authorSean Christopherson <seanjc@google.com>
Tue, 15 Feb 2022 19:49:42 +0000 (11:49 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:15:35 +0000 (10:15 -0400)
commit92aae9d11f34d406073b06b698a939e99da6060e
tree51585afb2ec3c35cb4a24358601af98d29b19b46
parentb3f1bc6fbd8c6c46475c307c10e3e228ab5d339d
KVM: selftests: Add __vcpu_run() helper

Add __vcpu_run() so that tests that want to avoid asserts on KVM_RUN
failures don't need to open code the ioctl() call.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/aarch64/vgic_init.c
tools/testing/selftests/kvm/dirty_log_test.c
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/lib/kvm_util.c