diff options
author | Richard Henderson | 2022-04-17 20:30:15 +0200 |
---|---|---|
committer | Richard Henderson | 2022-04-20 19:51:11 +0200 |
commit | beab3447dbb1363654760c34b53226814c64de99 (patch) | |
tree | 77a0c2aecc8d4b0b83fcb2151444e90923571e49 /scripts/qapi/gen.py | |
parent | util/log: Rename qemu_logfile_mutex to global_mutex (diff) | |
download | qemu-beab3447dbb1363654760c34b53226814c64de99.tar.gz qemu-beab3447dbb1363654760c34b53226814c64de99.tar.xz qemu-beab3447dbb1363654760c34b53226814c64de99.zip |
util/log: Hoist the eval of is_daemonized in qemu_set_log_internal
Only call is_daemonized once.
We require the result on all paths after this point.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-36-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/gen.py')
0 files changed, 0 insertions, 0 deletions