mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
util: drop qemu_fork()
Fortunately, qemu_fork() is no longer used since commit
a95570e3e4
("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>
This commit is contained in:
parent
29c8a9e31a
commit
8278e30c45
3 changed files with 0 additions and 93 deletions
|
@ -283,15 +283,6 @@ char *qemu_get_pid_name(pid_t pid)
|
|||
}
|
||||
|
||||
|
||||
pid_t qemu_fork(Error **errp)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
error_setg_errno(errp, errno,
|
||||
"cannot fork child process");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
#undef connect
|
||||
int qemu_connect_wrap(int sockfd, const struct sockaddr *addr,
|
||||
socklen_t addrlen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue