All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/qtest: remove unused prctl/procctl headers
@ 2026-11-23  7:50 Brad Smith
  2026-11-23  9:54 ` Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: Brad Smith @ 2026-11-23  7:50 UTC (permalink / raw)
  To: Fabiano Rosas, Laurent Vivier, Paolo Bonzini; +Cc: qemu-devel

Commit 6cbde91a2758 ("tests/qtest: use prctl(PR_SET_PDEATHSIG) as
fallback to kill QEMU") added <sys/prctl.h> for PR_SET_PDEATHSIG on
Linux, and commit 49e9f8644b03 ("qtest: kill orphaned qtest QEMU
processes on FreeBSD") added <sys/procctl.h> for PROC_PDEATHSIG_CTL
on FreeBSD. Those calls were later replaced by -run-with
exit-with-parent=on, but the headers were left behind.

Remove them.

Signed-off-by: Brad Smith <brad@comstyle.com>
---
 tests/qtest/libqtest.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/qtest/libqtest.c b/tests/qtest/libqtest.c
index 7f66c1bbb3..f39a39b85c 100644
--- a/tests/qtest/libqtest.c
+++ b/tests/qtest/libqtest.c
@@ -21,12 +21,6 @@
 #include <sys/wait.h>
 #include <sys/un.h>
 #endif /* _WIN32 */
-#ifdef __linux__
-#include <sys/prctl.h>
-#endif /* __linux__ */
-#ifdef __FreeBSD__
-#include <sys/procctl.h>
-#endif /* __FreeBSD__ */
 
 #include "libqtest.h"
 #include "libqmp.h"
-- 
2.56.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-23  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  7:50 [PATCH] tests/qtest: remove unused prctl/procctl headers Brad Smith
2026-11-23  9:54 ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.