]> git.proxmox.com Git - qemu.git/commitdiff
hw/pl110: Use LOG_GUEST_ERROR rather than hw_error()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 30 Oct 2012 07:45:09 +0000 (07:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 Oct 2012 07:45:09 +0000 (07:45 +0000)
Use LOG_GUEST_ERROR to report guest accesses to invalid register
offsets.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/pl110.c

index 82486b0c14248554949f9d7c56777f5b942929dd..d5472f4ccec18df0409e57effaa72f18e909af1e 100644 (file)
@@ -349,7 +349,8 @@ static uint64_t pl110_read(void *opaque, hwaddr offset,
     case 12: /* LCDLPCURR */
         return s->lpbase;
     default:
-        hw_error("pl110_read: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl110_read: Bad offset %x\n", (int)offset);
         return 0;
     }
 }
@@ -417,7 +418,8 @@ static void pl110_write(void *opaque, hwaddr offset,
         pl110_update(s);
         break;
     default:
-        hw_error("pl110_write: Bad offset %x\n", (int)offset);
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "pl110_write: Bad offset %x\n", (int)offset);
     }
 }