From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld8xR-0005T4-Rx for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld8xQ-0005S8-SJ for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:17 -0500 Received: from [199.232.76.173] (port=37676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld8xQ-0005Rs-Ly for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:16 -0500 Received: from savannah.gnu.org ([199.232.41.3]:40681 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ld8xQ-0007xj-8l for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:16 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Ld8xP-0004li-9y for qemu-devel@nongnu.org; Fri, 27 Feb 2009 20:05:15 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Ld8xO-0004le-ME for qemu-devel@nongnu.org; Fri, 27 Feb 2009 20:05:14 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Fri, 27 Feb 2009 20:05:14 +0000 Subject: [Qemu-devel] [6649] x86: use qemu_log_mask on triple faults (Chris Wright) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Signed-off-by: Anthony Liguori 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;