diff options
author | Andrew Jones | 2019-05-27 14:30:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2019-06-04 19:29:10 +0200 |
commit | 2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed (patch) | |
tree | e2d1029a6f6cf7b9a796eea4673baf58e8119b51 /tools/testing/selftests/kvm/x86_64/state_test.c | |
parent | KVM: X86: Emulate MSR_IA32_MISC_ENABLE MWAIT bit (diff) | |
download | kernel-qcow2-linux-2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed.tar.gz kernel-qcow2-linux-2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed.tar.xz kernel-qcow2-linux-2c7c5d3d392d4a9e19e16f2bde76d70e0af741ed.zip |
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/x86_64/state_test.c')
0 files changed, 0 insertions, 0 deletions