]> git.ipfire.org Git - thirdparty/qemu.git/commit
util/log: Drop call to setvbuf
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 18:30:00 +0000 (11:30 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
commitfb6efecf548fc8ef8cc377f076312b1cf4061cac
tree3f9c58688837c53036905c0800f80b75a4c322b5
parent90f37362d7d2037a47f0c18ab4a26055acbd7b3a
util/log: Drop call to setvbuf

Now that the log buffer is flushed after every qemu_log_unlock,
which includes every call to qemu_log, we do not need to force
line buffering (or unbuffering for windows).  Block buffer the
entire loggable unit.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-21-richard.henderson@linaro.org>
util/log.c