diff options
| author | Daniel P. Berrangé | 2022-05-13 17:49:05 +0200 |
|---|---|---|
| committer | Thomas Huth | 2022-05-18 08:54:22 +0200 |
| commit | 83f79d4efc8dac7e511bc4375d0f9d90ff9db731 (patch) | |
| tree | 1cbb76990d8570a48df6d14e106432f78dc7262c /docs/about | |
| parent | Remove Ubuntu 18.04 container support from the repository (diff) | |
| download | qemu-83f79d4efc8dac7e511bc4375d0f9d90ff9db731.tar.gz qemu-83f79d4efc8dac7e511bc4375d0f9d90ff9db731.tar.xz qemu-83f79d4efc8dac7e511bc4375d0f9d90ff9db731.zip | |
tests/qtest: fix registration of ABRT handler for QEMU cleanup
qtest_init registers a hook to cleanup the running QEMU process
should g_assert() fire before qtest_quit is called. When the first
hook is registered, it is supposed to triggere registration of the
SIGABRT handler. Unfortunately the logic in hook_list_is_empty is
inverted, so the SIGABRT handler never gets registered, unless
2 or more QEMU processes are run concurrently. This caused qtest
to leak QEMU processes anytime g_assert triggers.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220513154906.206715-2-berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs/about')
0 files changed, 0 insertions, 0 deletions
