Skip to contentSkip to conversation

[6649] x86: use qemu_log_mask on triple faults (Chris Wright)

Qemu-devel Anthony Liguori 1 participant 1 message Feb 27, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6649

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6649
Author:   aliguori
Date:     2009-02-27 20:05:13 +0000 (Fri, 27 Feb 2009)

Log Message:
-----------
x86: use qemu_log_mask on triple faults (Chris Wright)

replace open coded qemu_log_mask with proper macro

Modified Paths:
--------------

    trunk/target-i386/op_helper.c

Modified: trunk/target-i386/op_helper.c
===================================================================

target-i386/op_helper.c +1 -2
@@ -1275,8 +1275,7 @@
         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;