Richard Henderson <richard.hender...@linaro.org> writes:

> Inside qemu_log, we perform qemu_log_lock/unlock, which need
> not be done if we have already performed the lock beforehand.
>
> Always check the result of qemu_log_lock -- only checking
> qemu_loglevel_mask races with the acquisition of the lock
> on the logfile.

I'm not sure I like introducing all these raw fprintfs over introducing
a function like qemu_log__locked().

-- 
Alex Bennée

Reply via email to