]> git.proxmox.com Git - mirror_qemu.git/commit - include/qemu/log.h
util/log: Return bool from qemu_set_log_filename
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 18:29:43 +0000 (11:29 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
commite2c7c6a454c2c4221461aa04e4061dbb91b4986c
treee60843c94e954127b0a92a41099c97a840750fa4
parenteecb0c4e1125c751ded392456b43a036e8efe1ab
util/log: Return bool from qemu_set_log_filename

Per the recommendations in qapi/error.h, return false on failure.

Use the return value in the monitor, the only place we aren't
already passing error_fatal or error_abort.

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