util/log: Drop manual log buffering
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 18:29:41 +0000 (11:29 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
commit54ee5b3da00cdbee836a06a7e6eb319c895f2a57
tree2082efcdc464e602f73748a78048c5ce3902bf3a
parent40a4b96eb08b3a3e83895f46b2394748dac7a641
util/log: Drop manual log buffering

This buffering was introduced during the Paleozoic: 9fa3e853531.

There has never been an explanation as to why we may not allow
glibc to allocate the file buffer itself.  We certainly have
many other uses of mmap and malloc during user-only startup,
so presumably whatever the issue was, it has been fixed during
the preceeding 18 years.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-2-richard.henderson@linaro.org>
bsd-user/main.c
include/qemu/log.h
linux-user/main.c
util/log.c