diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-01 14:18:07 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-10-05 08:02:20 -0500 |
commit | e0fea6b1e4df2067a51e08e67a17cb98a547287c (patch) | |
tree | 4ec93928a7b556b7bf468ac4f91a9eed274b882f /cutils.c | |
parent | 610b823ef66b993660f1ab1447a769f190e4f3b3 (diff) | |
download | qemu-e0fea6b1e4df2067a51e08e67a17cb98a547287c.zip qemu-e0fea6b1e4df2067a51e08e67a17cb98a547287c.tar.gz qemu-e0fea6b1e4df2067a51e08e67a17cb98a547287c.tar.bz2 |
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 'cutils.c')
0 files changed, 0 insertions, 0 deletions