audio: remove LOG_TO_MONITOR along with default_mon
authorKővágó, Zoltán <dirty.ice.hu@gmail.com>
Fri, 12 Jun 2015 12:33:02 +0000 (14:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 15 Jun 2015 10:42:48 +0000 (12:42 +0200)
commit06ac27f683c52890a6d174adba8c92354fa1eceb
tree305e63ea9bc546d60380ffba27322e40896ac57f
parent65eb1e6b4c1c4f66deff9cdf9bfbdea267c59343
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>
audio/audio.c
include/monitor/monitor.h
monitor.c