Patchwork [05/12] hw/pl190: Use LOG_UNIMP rather than hw_error()

login
register
mail settings
Submitter Peter Maydell
Date Oct. 25, 2012, 12:57 p.m.
Message ID <1351169867-5466-6-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/194202/
State New
Headers show

Comments

Peter Maydell - Oct. 25, 2012, 12:57 p.m.
Use LOG_UNIMP to report attempts to use the unimplemented test mode.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 hw/pl190.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/pl190.c b/hw/pl190.c
index 213229b..4019930 100644
--- a/hw/pl190.c
+++ b/hw/pl190.c
@@ -199,7 +199,7 @@  static void pl190_write(void *opaque, hwaddr offset,
         break;
     case 0xc0: /* ITCR */
         if (val) {
-            hw_error("pl190: Test mode not implemented\n");
+            qemu_log_mask(LOG_UNIMP, "pl190: Test mode not implemented\n");
         }
         break;
     default: