diff options
author | Kővágó, Zoltán <dirty.ice.hu@gmail.com> | 2015-06-12 14:33:02 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-15 12:42:48 +0200 |
commit | 06ac27f683c52890a6d174adba8c92354fa1eceb (patch) | |
tree | 305e63ea9bc546d60380ffba27322e40896ac57f /include | |
parent | 65eb1e6b4c1c4f66deff9cdf9bfbdea267c59343 (diff) | |
download | qemu-06ac27f683c52890a6d174adba8c92354fa1eceb.tar.gz qemu-06ac27f683c52890a6d174adba8c92354fa1eceb.tar.bz2 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.h | 1 |
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 |