Use new logging API in reset handling (Jan Kiszka)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 29 Jan 2009 17:02:21 +0000 (17:02 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 29 Jan 2009 17:02:21 +0000 (17:02 +0000)
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@6473 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/op_helper.c

index 0584bd4..3b43b9e 100644 (file)
@@ -1275,7 +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 (loglevel & CPU_LOG_RESET)
+        if (qemu_loglevel_mask(CPU_LOG_RESET))
             fprintf(logfile, "Triple fault\n");
 
         qemu_system_reset_request();