summaryrefslogtreecommitdiffstats
path: root/hw/dma/i8257.c
diff options
context:
space:
mode:
authorPhilipp Hahn2014-09-10 13:47:15 +0200
committerPaolo Bonzini2014-09-16 12:35:02 +0200
commit7dbb4c49bfa60b92251a97ddda2c3cdace6b73e4 (patch)
tree0dfeea3fc660ac33d492001ab215ddab77caf6a2 /hw/dma/i8257.c
parentkvmclock: Ensure time in migration never goes backward (diff)
downloadqemu-7dbb4c49bfa60b92251a97ddda2c3cdace6b73e4.tar.gz
qemu-7dbb4c49bfa60b92251a97ddda2c3cdace6b73e4.tar.xz
qemu-7dbb4c49bfa60b92251a97ddda2c3cdace6b73e4.zip
hw/dma/i8257: Silence phony error message
Convert into trace event. Otherwise the message dma: unregistered DMA channel used nchan=0 dma_pos=0 dma_len=1 gets printed every time and fills up the log-file with 50 MiB / minute. Signed-off-by: Philipp Hahn <hahn@univention.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/dma/i8257.c')
-rw-r--r--hw/dma/i8257.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
index dd370ed7e5..a414029bea 100644
--- a/hw/dma/i8257.c
+++ b/hw/dma/i8257.c
@@ -24,6 +24,7 @@
#include "hw/hw.h"
#include "hw/isa/isa.h"
#include "qemu/main-loop.h"
+#include "trace.h"
/* #define DEBUG_DMA */
@@ -473,8 +474,7 @@ static void dma_reset(void *opaque)
static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len)
{
- dolog ("unregistered DMA channel used nchan=%d dma_pos=%d dma_len=%d\n",
- nchan, dma_pos, dma_len);
+ trace_i8257_unregistered_dma(nchan, dma_pos, dma_len);
return dma_pos;
}