aboutsummaryrefslogtreecommitdiff
path: root/qemu-log.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-10-18 14:11:35 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-10-20 07:56:22 +0000
commite54eba1986f6c4bac2951e7f90a849cd842e25e4 (patch)
treea635f4659d75789d14af32a23720f2bad471e7cf /qemu-log.h
parentde9e9d9f17a36ff76c1a02a5348835e5e0a081b0 (diff)
qemu-log: Add new log category for guest bugs
Add a new category for device models to log guest behaviour which is likely to be a guest bug of some kind (accessing nonexistent registers, reading 32 bit wide registers with a byte access, etc). Making this its own log category allows those who care (mostly guest OS authors) to see the complaints without bothering most users. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-log.h')
-rw-r--r--qemu-log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-log.h b/qemu-log.h
index 5ccecf30af..ce6bb095b3 100644
--- a/qemu-log.h
+++ b/qemu-log.h
@@ -35,6 +35,7 @@ static inline bool qemu_log_enabled(void)
#define CPU_LOG_TB_CPU (1 << 8)
#define CPU_LOG_RESET (1 << 9)
#define LOG_UNIMP (1 << 10)
+#define LOG_GUEST_ERROR (1 << 11)
/* Returns true if a bit is set in the current loglevel mask
*/