This series extends the device-crash-test script so it can test backend objects, too. The new mode can be enabled using the "-O" option.
The script already found a crash using the following command-line: $ qemu-system-x86_64 -S -machine none -object colo-compare,id=test-object (qemu-system-x86_64:3812): GLib-CRITICAL **: g_main_loop_quit: assertion 'loop != NULL' failed Segmentation fault (core dumped) Eduardo Habkost (3): scripts/qmp: Accept timeout parameter on accept() scripts/qemu: Catch QEMU exit while waiting for QMP client device-crash-test: Mode for testing -object scripts/qemu.py | 14 ++++++- scripts/qmp/qmp.py | 4 +- scripts/device-crash-test | 101 +++++++++++++++++++++++++++++++++------------- 3 files changed, 89 insertions(+), 30 deletions(-) -- 2.11.0.259.g40922b1