qemu-irix/tests
Anthony Liguori 039380a8e1 qtest: fix infinite loop when QEMU aborts abruptly
From Markus:

Makes "make check" hang:

    QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 gtester -k --verbose -m=quick tests/crash-test tests/rtc-test
    TEST: tests/crash-test... (pid=972)
    qemu-system-x86_64: Device needs media, but drive is empty
[Nothing happens, wait a while, then hit ^C]
    make: *** [check-qtest-x86_64] Interrupt

This was due to the fact that we weren't checked for errors when
reading from the QMP socket.  This patch adds appropriate error
checking.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:26:59 -05:00
..
qemu-iotests qemu-iotests: add 036 autoclear feature bit test 2012-06-15 14:03:44 +02:00
tcg
.gitignore
Makefile
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qstring.c
fdc-test.c qtest: add a fuzz test to fdc-test 2012-06-21 18:45:26 +00:00
libqtest.c qtest: fix infinite loop when QEMU aborts abruptly 2012-06-27 16:26:59 -05:00
libqtest.h
m48t59-test.c
qemu-iotests-quick.sh
rtc-test.c
test-coroutine.c
test-qmp-commands.c
test-qmp-input-strict.c
test-qmp-input-visitor.c
test-qmp-output-visitor.c
test-string-input-visitor.c
test-string-output-visitor.c
test-visitor-serialization.c