diff mbox series

[PULL,v2,06/16] hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf

Message ID 20200610131011.1941209-7-laurent@vivier.eu
State New
Headers show
Series [PULL,v2,01/16] Fix parameter type in vhost migration log path | expand

Commit Message

Laurent Vivier June 10, 2020, 1:10 p.m. UTC
From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200606070216.30952-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/misc/auxbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c
index f8e7b9797125..06aabf20c59c 100644
--- a/hw/misc/auxbus.c
+++ b/hw/misc/auxbus.c
@@ -196,7 +196,7 @@  AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address,
         }
         break;
     default:
-        DPRINTF("Not implemented!\n");
+        qemu_log_mask(LOG_UNIMP, "AUX cmd=%u not implemented\n", cmd);
         return AUX_NACK;
     }