qemu-e2k/tests
Kevin Wolf 2ea9b58f0b aio: Fix return value of aio_poll()
aio_poll() must return true if any work is still pending, even if it
didn't make progress, so that bdrv_drain_all() doesn't stop waiting too
early. The possibility of stopping early occasionally lead to a failed
assertion in bdrv_drain_all(), when some in-flight request was missed
and the function didn't really drain all requests.

In order to make that change, the return value as specified in the
function comment must change for blocking = false; fortunately, the
return value of blocking = false callers is only used in test cases, so
this change shouldn't cause any trouble.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-17 10:51:42 +01:00
..
qemu-iotests qemu-iotests: Test concurrent cluster allocations 2012-12-12 12:33:48 +01:00
tcg target-mips: Fix helper and tests for dot/cross-dot product instructions 2013-01-08 11:58:43 +01:00
.gitignore Add .gitignore for tests/ 2012-04-20 13:23:27 +01:00
Makefile tests: Add tmp105 qtest test case 2013-01-16 12:14:20 -06:00
check-block.sh Add 'make check-block' 2012-03-12 15:14:07 +01:00
check-qdict.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
check-qfloat.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
check-qint.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
check-qjson.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
check-qlist.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
check-qstring.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
fdc-test.c fdc-tests: add tests for VERIFY command 2012-11-14 18:19:22 +01:00
hd-geo-test.c qtest: Test we don't put hard disk info into CMOS for a CD-ROM 2012-07-17 16:48:31 +02:00
libi2c-omap.c libqtest: Prepare I2C libqos 2013-01-16 12:14:20 -06:00
libi2c.c libqtest: Prepare I2C libqos 2013-01-16 12:14:20 -06:00
libi2c.h libqtest: Prepare I2C libqos 2013-01-16 12:14:20 -06:00
libqtest.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
libqtest.h qtest: Add function to send QMP commands 2012-05-10 10:32:11 +02:00
m48t59-test.c m48t59-test: don't touch watchdog 2013-01-10 15:23:39 +01:00
qemu-iotests-quick.sh make check: Add qemu-iotests subset 2012-03-12 15:14:07 +01:00
rtc-test.c rtc-test: skip year-2038 overflow check in case time_t is 32bit only 2013-01-10 15:23:39 +01:00
test-aio.c aio: Fix return value of aio_poll() 2013-01-17 10:51:42 +01:00
test-coroutine.c block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
test-iov.c test-iov: add iov_discard_front/back() testcases 2013-01-02 15:58:09 +01:00
test-qmp-commands.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
test-qmp-input-strict.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
test-qmp-input-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
test-qmp-output-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
test-string-input-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
test-string-output-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
test-thread-pool.c block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
test-visitor-serialization.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
tmp105-test.c tests: Add tmp105 qtest test case 2013-01-16 12:14:20 -06:00