summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/kvm_util_internal.h
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2019-05-27 14:30:06 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-04 19:29:10 +0200
commit2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed (patch)
treee2d1029a6f6cf7b9a796eea4673baf58e8119b51 /tools/testing/selftests/kvm/lib/kvm_util_internal.h
parent511a8556e3342af6a46eb9477936b29aa983f154 (diff)
kvm: selftests: ucall improvements
Make sure we complete the I/O after determining we have a ucall, which is I/O. Also allow the *uc parameter to optionally be NULL. It's quite possible that a test case will only care about the return value, like for example when looping on a check for UCALL_DONE. Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util_internal.h')
0 files changed, 0 insertions, 0 deletions