mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
util/log: Drop manual log buffering
This buffering was introduced during the Paleozoic: 9fa3e85353
.
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>
This commit is contained in:
parent
40a4b96eb0
commit
54ee5b3da0
4 changed files with 4 additions and 20 deletions
|
@ -405,7 +405,6 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* init debug */
|
||||
qemu_log_needs_buffers();
|
||||
qemu_set_log_filename(log_file, &error_fatal);
|
||||
if (log_mask) {
|
||||
int mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue