[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 06/12] hw/arm11mpcore: Use LOG_GUEST_ERROR rather th
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 06/12] hw/arm11mpcore: Use LOG_GUEST_ERROR rather than hw_error() |
Date: |
Thu, 25 Oct 2012 13:57:41 +0100 |
Use LOG_GUEST_ERROR to report guest accesses to bad offsets.
Signed-off-by: Peter Maydell <address@hidden>
---
hw/arm11mpcore.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/arm11mpcore.c b/hw/arm11mpcore.c
index 105f158..640ed20 100644
--- a/hw/arm11mpcore.c
+++ b/hw/arm11mpcore.c
@@ -44,7 +44,9 @@ static uint64_t mpcore_scu_read(void *opaque, hwaddr offset,
case 0x0c: /* Invalidate all. */
return 0;
default:
- hw_error("mpcore_priv_read: Bad offset %x\n", (int)offset);
+ qemu_log_mask(LOG_GUEST_ERROR,
+ "mpcore_priv_read: Bad offset %x\n", (int)offset);
+ return 0;
}
}
@@ -61,7 +63,8 @@ static void mpcore_scu_write(void *opaque, hwaddr offset,
/* This is a no-op as cache is not emulated. */
break;
default:
- hw_error("mpcore_priv_read: Bad offset %x\n", (int)offset);
+ qemu_log_mask(LOG_GUEST_ERROR,
+ "mpcore_priv_read: Bad offset %x\n", (int)offset);
}
}
--
1.7.9.5
- [Qemu-devel] [PATCH 03/12] hw/pl080: Use LOG_GUEST_ERROR and LOG_UNIMP, (continued)
- [Qemu-devel] [PATCH 03/12] hw/pl080: Use LOG_GUEST_ERROR and LOG_UNIMP, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 05/12] hw/pl190: Use LOG_UNIMP rather than hw_error(), Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 11/12] hw/arm_l2x0: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 09/12] hw/armv7m_nvic: Use LOG_GUEST_ERROR and LOG_UNIMP, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 08/12] hw/arm_timer: Use LOG_GUEST_ERROR and LOG_UNIMP, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 01/12] hw/pl050: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 12/12] hw/versatile_i2c: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 10/12] hw/arm_sysctl: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 06/12] hw/arm11mpcore: Use LOG_GUEST_ERROR rather than hw_error(),
Peter Maydell <=
- [Qemu-devel] [PATCH 07/12] hw/arm_gic: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 04/12] hw/pl110: Use LOG_GUEST_ERROR rather than hw_error(), Peter Maydell, 2012/10/25
- [Qemu-devel] [PATCH 02/12] hw/pl061: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/25