]> git.proxmox.com Git - qemu.git/commit
slirp: Put forked exec into separate process group
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Jul 2011 10:20:17 +0000 (12:20 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 23 Jul 2011 15:19:49 +0000 (10:19 -0500)
commit565465fcae755fbdb11c2f65ec5f0ae62c78db3a
treec0f291700cca255385118753234f62f426c691c1
parent3acccfc67d3aa4611142e2171337c7c494b52efb
slirp: Put forked exec into separate process group

Recent smb daemons tend to terminate themselves via a process group
SIGTERM. If the daemon is still in qemu's group by that time, qemu will
die as well. Avoid this by always pushing fork_exec processes into a
group of their own, not just (unused) type 2 execs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/misc.c