diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-27 20:05:13 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-27 20:05:13 +0000 |
commit | 7528adec088c63b6d5fb123c4ef7692534218fe7 (patch) | |
tree | e00c5c1d538f31a2135636a69340be08e7f7470d /target-i386 | |
parent | d2b853b2d496e3df9309cab699b0b6183e45c3cf (diff) | |
download | qemu-7528adec088c63b6d5fb123c4ef7692534218fe7.tar.gz qemu-7528adec088c63b6d5fb123c4ef7692534218fe7.tar.bz2 qemu-7528adec088c63b6d5fb123c4ef7692534218fe7.zip |
x86: use qemu_log_mask on triple faults (Chris Wright)
replace open coded qemu_log_mask with proper macro
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6649 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/op_helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 217916a05c..25e079b8fd 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -1275,8 +1275,7 @@ static int check_exception(int intno, int *error_code) if (env->hflags & HF_SVMI_MASK) helper_vmexit(SVM_EXIT_SHUTDOWN, 0); /* does not return */ - if (qemu_loglevel_mask(CPU_LOG_RESET)) - fprintf(logfile, "Triple fault\n"); + qemu_log_mask(CPU_LOG_RESET, "Triple fault\n"); qemu_system_reset_request(); return EXCP_HLT; |