KVM: selftests: Introduce after_vcpu_run hook for dirty log test
authorPeter Xu <peterx@redhat.com>
Thu, 1 Oct 2020 01:22:35 +0000 (21:22 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 15 Nov 2020 14:49:16 +0000 (09:49 -0500)
commit60f644fb519831edff38c79755f7970c475e2ece
tree790031886d1533c19c8be1cc4211e9edb7f73791
parent044c59c409b7fd753707dc437890e94d2b0bd819
KVM: selftests: Introduce after_vcpu_run hook for dirty log test

Provide a hook for the checks after vcpu_run() completes.  Preparation
for the dirty ring test because we'll need to take care of another
exit reason.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20201001012235.6063-1-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_test.c