hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 6 Jun 2020 07:02:16 +0000 (09:02 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 9 Jun 2020 17:14:47 +0000 (19:14 +0200)
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

index f8e7b979712571cdf66565cf4ba2cea372a35183..06aabf20c59c03ddefc2c833cd72e25ab3a26347 100644 (file)
@@ -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;
     }