Fiona Ebner f05142d511 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>
2023-10-07 19:02:33 +02:00
..
2023-05-30 17:37:26 +02:00
2023-03-20 12:43:50 +01:00
2023-08-31 19:47:43 +02:00
2023-05-23 15:20:15 +08:00
2023-03-20 12:43:50 +01:00
2023-09-07 20:32:11 -05:00
2023-08-31 19:47:43 +02:00
2023-04-24 11:29:00 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2023-02-02 11:48:20 +00:00
2023-03-28 15:23:10 -07:00
2023-08-31 19:47:43 +02:00
2023-04-27 16:39:43 +02:00
2023-10-04 18:15:06 -04:00