diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-18 14:11:35 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-20 07:56:22 +0000 |
commit | e54eba1986f6c4bac2951e7f90a849cd842e25e4 (patch) | |
tree | a635f4659d75789d14af32a23720f2bad471e7cf /qemu-log.c | |
parent | de9e9d9f17a36ff76c1a02a5348835e5e0a081b0 (diff) | |
download | qemu-e54eba1986f6c4bac2951e7f90a849cd842e25e4.zip qemu-e54eba1986f6c4bac2951e7f90a849cd842e25e4.tar.gz qemu-e54eba1986f6c4bac2951e7f90a849cd842e25e4.tar.bz2 |
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.c')
-rw-r--r-- | qemu-log.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -116,6 +116,9 @@ const CPULogItem cpu_log_items[] = { "show all i/o ports accesses" }, { LOG_UNIMP, "unimp", "log unimplemented functionality" }, + { LOG_GUEST_ERROR, "guest_errors", + "log when the guest OS does something invalid (eg accessing a\n" + "non-existent register)" }, { 0, NULL, NULL }, }; |