summary refs log tree commit diff stats
path: root/hw/core/cpu-common.c
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2023-10-04 14:44:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-07 19:02:33 +0200
commitf05142d511e86d8e97967d21f205d990dfc634de (patch)
tree2a44b0eff231de7f59fd4c517b9fea6bf053c6a5 /hw/core/cpu-common.c
parent044431cfe7a9325cc5c22b5feb5a6116d0264e2f (diff)
downloadfocaccia-qemu-f05142d511e86d8e97967d21f205d990dfc634de.tar.gz
focaccia-qemu-f05142d511e86d8e97967d21f205d990dfc634de.zip
util/log: re-allow switching away from stderr log file
Commit 59bde21374 ("util/log: do not close and reopen log files when
flags are turned off") prevented switching away from stderr on a
subsequent invocation of qemu_set_log_internal(). This prevented
switching away from stderr with the 'logfile' monitor command as well
as an invocation like
> ./qemu-system-x86_64 -trace 'qemu_mutex_lock,file=log'
from opening the specified log file.

Fixes: 59bde21374 ("util/log: do not close and reopen log files when flags are turned off")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20231004124446.491481-1-f.ebner@proxmox.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/cpu-common.c')
0 files changed, 0 insertions, 0 deletions