qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] x86: use qemu_log_mask on triple faults


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] x86: use qemu_log_mask on triple faults
Date: Fri, 27 Feb 2009 14:05:28 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Chris Wright wrote:
replace open coded qemu_log_mask with proper macro

Signed-off-by: Chris Wright <address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori

---
 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 217916a..25e079b 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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]