diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-06-03 17:04:28 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-06-21 18:45:20 +0000 |
commit | dafdf1abfd339602c17228a8de5adcf000eaefd0 (patch) | |
tree | b4b90e49ef69d51ff14207e9948d7817d9181e70 | |
parent | eeacee4d8652d7f3b9224cfe0707c0ed87cc0e96 (diff) | |
download | qemu-dafdf1abfd339602c17228a8de5adcf000eaefd0.tar.gz qemu-dafdf1abfd339602c17228a8de5adcf000eaefd0.tar.bz2 qemu-dafdf1abfd339602c17228a8de5adcf000eaefd0.zip |
qemu-log: add log category for unimplemented functionality
Add new log category (LOG_UNIMP) for unimplemented functionality.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | qemu-log.c | 2 | ||||
-rw-r--r-- | qemu-log.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/qemu-log.c b/qemu-log.c index 1dd3de41ad..1ec70e7e83 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 d1e0f2d98d..40f8b7b0c8 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 */ |