Skip to content

device-crash-test: New mode for testing -object

Eduardo Habkost qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts/qmp: Accept timeout parameter on accept()scripts/qmp/qmp.py+2 -20 replies
2/3scripts/qemu: Catch QEMU exit while waiting for QMP clientscripts/qemu.py+13 -10 replies
3/3device-crash-test: Mode for testing -objectscripts/device-crash-test+74 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] device-crash-test: New mode for testing -object

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(-)
Signature · 1 line
2.11.0.259.g40922b1