• J
    util: Fix deadlock in virLogReset · d581313a
    Jiri Denemark 提交于
    When libvirtd forks off a new child, the child then calls virLogReset(),
    which ends up closing file descriptors used as log outputs. However, we
    recently started logging closed file descriptors, which means we need to
    lock logging mutex which was already locked by virLogReset(). We don't
    really want to log anything when we are in the process of closing log
    outputs.
    d581313a
virfile.h 3.8 KB