qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6649] x86: use qemu_log_mask on triple faults (Chris Wright)
@ 2009-02-27 20:05 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-02-27 20:05 UTC (permalink / raw)
  To: qemu-devel

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

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

Modified: trunk/target-i386/op_helper.c
===================================================================
--- trunk/target-i386/op_helper.c	2009-02-27 20:01:39 UTC (rev 6648)
+++ trunk/target-i386/op_helper.c	2009-02-27 20:05:13 UTC (rev 6649)
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-27 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27 20:05 [Qemu-devel] [6649] x86: use qemu_log_mask on triple faults (Chris Wright) Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).