[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/6] qemu-log: add log category for unimplemented fu
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [PATCH 3/6] qemu-log: add log category for unimplemented functionality |
Date: |
Sat, 9 Jun 2012 12:12:42 +0000 |
Add new log category (LOG_UNIMP) for unimplemented functionality.
Signed-off-by: Blue Swirl <address@hidden>
---
qemu-log.c | 2 ++
qemu-log.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu-log.c b/qemu-log.c
index 1dd3de4..1ec70e7 100644
--- a/qemu-log.c
+++ b/qemu-log.c
@@ -120,6 +120,8 @@ const CPULogItem cpu_log_items[] = {
{ CPU_LOG_IOPORT, "ioport",
"show all i/o ports accesses" },
#endif
+ { LOG_UNIMP, "unimp",
+ "log unimplemented functionality" },
{ 0, NULL, NULL },
};
diff --git a/qemu-log.h b/qemu-log.h
index d1e0f2d..40f8b7b 100644
--- a/qemu-log.h
+++ b/qemu-log.h
@@ -34,6 +34,7 @@ static inline bool qemu_log_enabled(void)
#define CPU_LOG_IOPORT (1 << 7)
#define CPU_LOG_TB_CPU (1 << 8)
#define CPU_LOG_RESET (1 << 9)
+#define LOG_UNIMP (1 << 10)
/* Returns true if a bit is set in the current loglevel mask
*/
--
1.7.2.5
- [Qemu-devel] [PATCH v2 0/6] Log unimplemented functionality, Blue Swirl, 2012/06/09
- [Qemu-devel] [PATCH 3/6] qemu-log: add log category for unimplemented functionality,
Blue Swirl <=
- [Qemu-devel] [PATCH 1/6] qemu-log: move logging to qemu-log.c, Blue Swirl, 2012/06/09
- [Qemu-devel] [PATCH 2/6] qemu-log: cleanup, Blue Swirl, 2012/06/09
- [Qemu-devel] [PATCH 4/6] qemu-log: use LOG_UNIMP for some target CPU cases, Blue Swirl, 2012/06/09
- [Qemu-devel] [PATCH 5/6] fdc: use LOG_UNIMP logging, Blue Swirl, 2012/06/09
- [Qemu-devel] [PATCH 6/6] qtest: add a fuzz test to fdc-test, Blue Swirl, 2012/06/09
- Re: [Qemu-devel] [PATCH v2 0/6] Log unimplemented functionality, Andreas Färber, 2012/06/09