summary refs log tree commit diff stats
path: root/hw/usb-net.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-05-08 12:34:17 +0200
committerMark McLoughlin <markmc@redhat.com>2009-06-09 11:38:49 +0100
commit7c3370d4fe3fa6cda8655f109e4659afc8ca4269 (patch)
tree681f9d6d086927c0804fc83e7185790cf9085471 /hw/usb-net.c
parentc27ff60871aff588a35e51d1a90faed410993e55 (diff)
downloadfocaccia-qemu-7c3370d4fe3fa6cda8655f109e4659afc8ca4269.tar.gz
focaccia-qemu-7c3370d4fe3fa6cda8655f109e4659afc8ca4269.zip
slirp: Avoid zombie processes after fork_exec
Slirp uses fork_exec for spawning service processes, and QEMU uses this
for running smbd. As SIGCHLD is not handled, these processes become
zombies on termination. Fix this by installing a proper signal handler,
but also make sure we disable the signal while waiting on forked network
setup/shutdown scripts.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions