]> git.proxmox.com Git - qemu.git/commitdiff
qemu-log: add log category for unimplemented functionality
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 3 Jun 2012 17:04:28 +0000 (17:04 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 21 Jun 2012 18:45:20 +0000 (18:45 +0000)
Add new log category (LOG_UNIMP) for unimplemented functionality.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-log.c
qemu-log.h

index 1dd3de41ad467116bd46fa7ac3ad721b546dbcc4..1ec70e7e83644368bf158943c105ad02f755cb9b 100644 (file)
@@ -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 },
 };
 
index d1e0f2d98d89469ffbd997ddb63472f89679d5a5..40f8b7b0c8b56002215001abec5aeec00bf329bb 100644 (file)
@@ -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
  */