]> git.proxmox.com Git - qemu.git/commitdiff
pflash_cfi01: qemu_log_mask "unimplemented" msg
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 4 Dec 2012 06:04:33 +0000 (16:04 +1000)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 18 Dec 2012 15:49:51 +0000 (16:49 +0100)
This printf is informing the user of unimplemented functionality. It should be
re-directed to qemu_log(LOG_UNIMP, ...) accordingly.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/pflash_cfi01.c

index 7d040b508ac6e2332d3a22281d74a52003894f7e..f9f8e5d03c359315f0391fa944ae3c0acebce779 100644 (file)
@@ -438,9 +438,9 @@ static void pflash_write(pflash_t *pfl, hwaddr offset,
     return;
 
  error_flash:
-    printf("%s: Unimplemented flash cmd sequence "
-           "(offset " TARGET_FMT_plx ", wcycle 0x%x cmd 0x%x value 0x%x)\n",
-           __func__, offset, pfl->wcycle, pfl->cmd, value);
+    qemu_log_mask(LOG_UNIMP, "%s: Unimplemented flash cmd sequence "
+                  "(offset " TARGET_FMT_plx ", wcycle 0x%x cmd 0x%x value 0x%x)"
+                  "\n", __func__, offset, pfl->wcycle, pfl->cmd, value);
 
  reset_flash:
     memory_region_rom_device_set_readable(&pfl->mem, true);