[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/7] hw/pl041: Use LOG_UNIMP
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 3/7] hw/pl041: Use LOG_UNIMP |
Date: |
Sun, 14 Oct 2012 14:11:12 +0100 |
Use the new LOG_UNIMP tracing to report unimplemented
features.
Signed-off-by: Peter Maydell <address@hidden>
---
hw/pl041.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pl041.c b/hw/pl041.c
index b6723be..260c560 100644
--- a/hw/pl041.c
+++ b/hw/pl041.c
@@ -21,6 +21,7 @@
*/
#include "sysbus.h"
+#include "qemu-log.h"
#include "pl041.h"
#include "lm4549.h"
@@ -536,8 +537,9 @@ static int pl041_init(SysBusDevice *dev)
default:
/* NC FIFO depth of 16 is not allowed because its id bits in
AACIPERIPHID3 overlap with the id for the default NC FIFO depth */
- fprintf(stderr, "pl041: unsupported non-compact fifo depth [%i]\n",
- s->fifo_depth);
+ qemu_log_mask(LOG_UNIMP,
+ "pl041: unsupported non-compact fifo depth [%i]\n",
+ s->fifo_depth);
return -1;
}
--
1.7.11.4
- [Qemu-devel] [PATCH 0/7] Add LOG_GUEST_ERROR for reporting guest bugs, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 6/7] hw/pl022: Use LOG_UNIMP and LOG_GUEST_ERROR, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 5/7] hw/pl011: Use LOG_UNIMP and LOG_GUEST_ERROR, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 3/7] hw/pl041: Use LOG_UNIMP,
Peter Maydell <=
- [Qemu-devel] [PATCH 2/7] hw/pl181: Use LOG_UNIMP and LOG_GUEST_ERROR, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 7/7] hw/pl031: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 4/7] hw/pl190: Use LOG_GUEST_ERROR, Peter Maydell, 2012/10/14
- [Qemu-devel] [PATCH 1/7] qemu-log: Add new log category for guest bugs, Peter Maydell, 2012/10/14
- Re: [Qemu-devel] [PATCH 0/7] Add LOG_GUEST_ERROR for reporting guest bugs, Blue Swirl, 2012/10/14