Peter Maydell be59df797c 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>
2017-07-04 14:39:27 +02:00
..
2017-06-21 15:02:43 +01:00
2017-06-20 14:31:31 +02:00
2017-05-18 10:01:08 +01:00
2017-06-20 14:31:31 +02:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:04 +04:00
2017-03-01 11:51:28 +04:00
2017-06-04 18:42:55 +03:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:05 +04:00
2017-05-30 16:09:48 -03:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-06-06 20:18:35 +02:00
2017-03-01 11:51:25 +04:00
2017-01-10 08:49:59 -08:00
2017-03-07 16:07:47 +01:00
2016-11-11 20:53:23 +08:00
2017-03-01 11:51:29 +04:00