Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcmwT-0002hG-8y for qemu-devel@nongnu.org; Thu, 26 Feb 2009 15:34:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcmwP-0002ey-HZ for qemu-devel@nongnu.org; Thu, 26 Feb 2009 15:34:48 -0500 Received: from [199.232.76.173] (port=44656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcmwP-0002el-AJ for qemu-devel@nongnu.org; Thu, 26 Feb 2009 15:34:45 -0500 Received: from sous-sol.org ([216.99.217.87]:52582 helo=sequoia.sous-sol.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcmwO-0002Ov-Nj for qemu-devel@nongnu.org; Thu, 26 Feb 2009 15:34:45 -0500 Date: Thu, 26 Feb 2009 12:34:28 -0800 From: Chris Wright Message-ID: <20090226203428.GP7436@sequoia.sous-sol.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] x86: use qemu_log_mask on triple faults Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Juan Quintela , qemu-devel@nongnu.org, Eduardo Habkost replace open coded qemu_log_mask with proper macro Signed-off-by: Chris Wright --- 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;