commit | c8122c35e611385b31e2d8ccb059d0687540244a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 02 15:43:22 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Nov 02 13:07:54 2012 -0500 |
tree | e6411bce103fe07ccae80e7060ba93c3c6db73f5 | |
parent | c166cb72f1676855816340666c3b618beef4b976 [diff] |
qemu-timer: reinitialize timers after fork Timers are not inherited by the child of a fork(2), so just use pthread_atfork to reinstate them after daemonize. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>