diff options
| author | Peter Maydell | 2017-06-27 19:32:48 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-07-04 14:39:27 +0200 |
| commit | be59df797c6f465ef4f028fc2519efd2cfed4d30 (patch) | |
| tree | 909d629854ac6afb1e07fa4b722a522b38ceb119 /scripts | |
| parent | util/oslib-win32: Remove if conditional (diff) | |
| download | qemu-be59df797c6f465ef4f028fc2519efd2cfed4d30.tar.gz qemu-be59df797c6f465ef4f028fc2519efd2cfed4d30.tar.xz qemu-be59df797c6f465ef4f028fc2519efd2cfed4d30.zip | |
tests/test-char.c: Don't use main_loop_wait()'s return value
In QEMU's main_loop() we used to check whether we should do
a nonblocking call to main_loop(); this was deleted in commit e330c118f2a5,
because now that vCPUs always drop the I/O thread lock it is an unnecessary
optimization.
The loop in test-char.c copied the old QEMU main_loop() code, but
here the nonblocking check has never been necessary because this
standalone test case doesn't hold the I/O lock anyway. Remove it,
so we can drop the main_loop_wait() return value.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1498584769-12439-2-git-send-email-peter.maydell@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
