aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-01 14:18:07 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-10-05 08:02:20 -0500
commite0fea6b1e4df2067a51e08e67a17cb98a547287c (patch)
tree4ec93928a7b556b7bf468ac4f91a9eed274b882f /qemu-io.c
parent610b823ef66b993660f1ab1447a769f190e4f3b3 (diff)
qtest: implement QTEST_STOP
It is quite difficult to debug qtest test cases without extra wrapper scripts for QEMU or similar. This patch adds a simple environment variable-based trigger that sends a STOP signal to the QEMU instance under test, before attempting to connect to its QMP session. This will block execution of the testcase and give time to attach a debugger to the stopped QEMU process. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions