Richard Henderson <richard.hender...@linaro.org> writes:
> Inside qemu_log, we perform qemu_log_trylock/unlock, which need > not be done if we have already performed the lock beforehand. > > Always check the result of qemu_log_trylock -- only checking > qemu_loglevel_mask races with the acquisition of the lock on > the logfile. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée