mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
audio: remove LOG_TO_MONITOR along with default_mon
Setting QEMU_AUDIO_LOG_TO_MONITOR=1 can crash qemu (if qemu tries to log to the monitor before it's being initialized), and also nothing else in qemu logs to the monitor. This log to monitor feature was the last thing that used the default_mon variable, so I removed it too (as using it can cause problems). Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
65eb1e6b4c
commit
06ac27f683
@@ -8,7 +8,6 @@
|
||||
#include "qemu/readline.h"
|
||||
|
||||
extern Monitor *cur_mon;
|
||||
extern Monitor *default_mon;
|
||||
|
||||
/* flags for monitor_init */
|
||||
#define MONITOR_IS_DEFAULT 0x01
|
||||
|
||||
Reference in New Issue
Block a user