summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-10-30 07:45:08 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-10-30 07:45:08 +0000
commitfbfecf43e9d354cfae04496563f7bb87d2ccde46 (patch)
treed3cd11661c055fedd94724c6f5cab853217bc10a
parent7f0f774003e4c6885b34d4c0006f7beff2b529eb (diff)
downloadfocaccia-qemu-fbfecf43e9d354cfae04496563f7bb87d2ccde46.tar.gz
focaccia-qemu-fbfecf43e9d354cfae04496563f7bb87d2ccde46.zip
hw/pl050: Use LOG_GUEST_ERROR
Use LOG_GUEST_ERROR for reporting guest attempts to access invalid register
offsets.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/pl050.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/pl050.c b/hw/pl050.c
index 470572eabb..47032f1260 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@ -95,7 +95,8 @@ static uint64_t pl050_read(void *opaque, hwaddr offset,
     case 4: /* KMIIR */
         return s->pending | 2;
     default:
-        hw_error("pl050_read: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl050_read: Bad offset %x\n", (int)offset);
         return 0;
     }
 }
@@ -123,7 +124,8 @@ static void pl050_write(void *opaque, hwaddr offset,
         s->clk = value;
         return;
     default:
-        hw_error("pl050_write: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl050_write: Bad offset %x\n", (int)offset);
     }
 }
 static const MemoryRegionOps pl050_ops = {