[PATCH v2 0/2] tests/libqtest: fix cleanup of QEMU processes and add robustness

Daniel P. Berrangé posted 2 patches 2 days, 20 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220513154906.206715-1-berrange@redhat.com
Maintainers: Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/libqtest.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
[PATCH v2 0/2] tests/libqtest: fix cleanup of QEMU processes and add robustness
Posted by Daniel P. Berrangé 2 days, 20 hours ago
This fixes the existing logic that was supposed to be cleaning up
running QEMU processes when g_assert fires. It then further adds
use of a Linux specific prctl as a safety net if the ABRT handler
couldn't convince QEMU to quit with SIGTERM, or if the test program
crashes with SEGV.

Daniel P. Berrangé (2):
  tests/qtest: fix registration of ABRT handler for QEMU cleanup
  tests/qtest: use prctl(PR_SET_PDEATHSIG) as fallback to kill QEMU

 tests/qtest/libqtest.c | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

-- 
2.36.1