aboutsummaryrefslogtreecommitdiff
path: root/replay
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-09-14 16:54:18 +0100
committerAlex Bennée <alex.bennee@linaro.org>2023-09-20 15:06:33 +0100
commit49e9f8644b036b42b0fc65bc8bef992fcee2f610 (patch)
tree85f69d341cc00da587e075c1bf5daebb369d9b76 /replay
parent81395b6ec8364b37ee85b37faf18930800ad5db5 (diff)
downloadqemu-49e9f8644b036b42b0fc65bc8bef992fcee2f610.zip
qemu-49e9f8644b036b42b0fc65bc8bef992fcee2f610.tar.gz
qemu-49e9f8644b036b42b0fc65bc8bef992fcee2f610.tar.bz2
qtest: kill orphaned qtest QEMU processes on FreeBSD
On Linux we use PR_SET_PDEATHSIG to kill orphaned QEMU processes if we fail to call qtest_quit(), or the test program aborts/segvs. This prevents meson from hanging forever due to the orphaned process keeping stdout open. On FreeBSD we can achieve the same using PROC_PDEATHSIG_CTL, which gives us the equivalent protection against hangs. Signed-off-by: "Daniel P. Berrangé" <berrange@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230912184130.3056054-3-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230914155422.426639-6-alex.bennee@linaro.org>
Diffstat (limited to 'replay')
0 files changed, 0 insertions, 0 deletions