commit | 2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed | [log] [tgz] |
---|---|---|
author | Andrew Jones <drjones@redhat.com> | Mon May 27 14:30:06 2019 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 04 19:29:10 2019 +0200 |
tree | e2d1029a6f6cf7b9a796eea4673baf58e8119b51 | |
parent | 511a8556e3342af6a46eb9477936b29aa983f154 [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>