Re: [Qemu-devel] [PATCH] qtest: implement QTEST_STOP

2012-10-05 Thread Anthony Liguori
Paolo Bonzini writes: > 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.

Re: [Qemu-devel] [PATCH] qtest: implement QTEST_STOP

2012-10-01 Thread Paolo Bonzini
Il 01/10/2012 23:19, Anthony Liguori ha scritto: > What about launching the guest with "-S" if that variable is set? > That's a bit nicer, right? That also requires that -S block reads from the qtest socket, which is not yet the case. Paolo

Re: [Qemu-devel] [PATCH] qtest: implement QTEST_STOP

2012-10-01 Thread Anthony Liguori
Paolo Bonzini writes: > 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.

[Qemu-devel] [PATCH] qtest: implement QTEST_STOP

2012-10-01 Thread Paolo Bonzini
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 th