From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT7R5-0002Fo-G3 for qemu-devel@nongnu.org; Tue, 30 Oct 2012 04:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT7R1-0003kE-Fo for qemu-devel@nongnu.org; Tue, 30 Oct 2012 04:44:35 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:45759 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT7R1-0003k6-8G for qemu-devel@nongnu.org; Tue, 30 Oct 2012 04:44:31 -0400 From: Peter Maydell Date: Tue, 30 Oct 2012 08:44:06 +0000 Message-Id: <1351586664-20525-11-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1351586664-20525-1-git-send-email-peter.maydell@linaro.org> References: <1351586664-20525-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 10/28] hw/pl050: Use LOG_GUEST_ERROR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Paul Brook Use LOG_GUEST_ERROR for reporting guest attempts to access invalid register offsets. Signed-off-by: Peter Maydell --- hw/pl050.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/pl050.c b/hw/pl050.c index 470572e..47032f1 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 = { -- 1.7.9.5