summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKővágó, Zoltán2015-06-12 14:33:02 +0200
committerGerd Hoffmann2015-06-15 12:42:48 +0200
commit06ac27f683c52890a6d174adba8c92354fa1eceb (patch)
tree305e63ea9bc546d60380ffba27322e40896ac57f /include
parentMAINTAINERS: remove malc from audio (diff)
downloadqemu-06ac27f683c52890a6d174adba8c92354fa1eceb.tar.gz
qemu-06ac27f683c52890a6d174adba8c92354fa1eceb.tar.xz
qemu-06ac27f683c52890a6d174adba8c92354fa1eceb.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/monitor/monitor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/monitor/monitor.h b/include/monitor/monitor.h
index 57f8394a94..88644ceda7 100644
--- a/include/monitor/monitor.h
+++ b/include/monitor/monitor.h
@@ -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