diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-02 15:43:22 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-02 13:07:54 -0500 |
commit | c8122c35e611385b31e2d8ccb059d0687540244a (patch) | |
tree | e6411bce103fe07ccae80e7060ba93c3c6db73f5 /vl.c | |
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>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions