diff options
author | 2009-01-26 19:54:31 +0000 | |
---|---|---|
committer | 2009-01-26 19:54:31 +0000 | |
commit | eca1bdf415c454093dfc7eb983cd49287c043967 (patch) | |
tree | 70920f4f7827b7f6a8bc1b52366b0d968ba88cd0 /cpu-all.h | |
parent | Remove the advertising clause from the slirp license (diff) | |
download | qemu-kvm-eca1bdf415c454093dfc7eb983cd49287c043967.tar.gz qemu-kvm-eca1bdf415c454093dfc7eb983cd49287c043967.tar.bz2 qemu-kvm-eca1bdf415c454093dfc7eb983cd49287c043967.zip |
Log reset events (Jan Kiszka)
Original idea&code by Kevin Wolf, split-up in two patches and added more
archs.
This patch introduces a flag to log CPU resets. Useful for tracing
unexpected resets (such as those triggered by x86 triple faults).
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -816,6 +816,7 @@ target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr); #define CPU_LOG_PCALL (1 << 6) #define CPU_LOG_IOPORT (1 << 7) #define CPU_LOG_TB_CPU (1 << 8) +#define CPU_LOG_RESET (1 << 9) /* define log items */ typedef struct CPULogItem { |