aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-02-21 16:47:46 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-13 15:23:37 +0400
commit8278e30c459e21db93c17d2182ad8352ec2dd4f9 (patch)
tree962573bc426f65119b0803b5bc6e1e9a2a9469e9 /include/qemu
parent29c8a9e31a982874ce4e2c15f2bf82d5f8dc3517 (diff)
downloadqemu-8278e30c459e21db93c17d2182ad8352ec2dd4f9.zip
qemu-8278e30c459e21db93c17d2182ad8352ec2dd4f9.tar.gz
qemu-8278e30c459e21db93c17d2182ad8352ec2dd4f9.tar.bz2
util: drop qemu_fork()
Fortunately, qemu_fork() is no longer used since commit a95570e3e4d6 ("io/command: use glib GSpawn, instead of open-coding fork/exec"). (GSpawn uses posix_spawn() whenever possible instead) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230221124802.4103554-2-marcandre.lureau@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/osdep.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 88c9fac..f68b5d8 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -665,20 +665,6 @@ void qemu_prealloc_mem(int fd, char *area, size_t sz, int max_threads,
*/
char *qemu_get_pid_name(pid_t pid);
-/**
- * qemu_fork:
- *
- * A version of fork that avoids signal handler race
- * conditions that can lead to child process getting
- * signals that are otherwise only expected by the
- * parent. It also resets all signal handlers to the
- * default settings.
- *
- * Returns 0 to child process, pid number to parent
- * or -1 on failure.
- */
-pid_t qemu_fork(Error **errp);
-
/* Using intptr_t ensures that qemu_*_page_mask is sign-extended even
* when intptr_t is 32-bit and we are aligning a long long.
*/