hw/pl110: Use LOG_GUEST_ERROR rather than hw_error()

Use LOG_GUEST_ERROR to report guest accesses to invalid register
offsets.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2012-10-30 07:45:09 +00:00
parent df37416218
commit 375cb56029

View File

@ -349,7 +349,8 @@ static uint64_t pl110_read(void *opaque, hwaddr offset,
case 12: /* LCDLPCURR */ case 12: /* LCDLPCURR */
return s->lpbase; return s->lpbase;
default: 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; return 0;
} }
} }
@ -417,7 +418,8 @@ static void pl110_write(void *opaque, hwaddr offset,
pl110_update(s); pl110_update(s);
break; break;
default: 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);
} }
} }