From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld8xj-0005j8-8E for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld8xh-0005hj-OH for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:34 -0500 Received: from [199.232.76.173] (port=37685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld8xh-0005hV-Aa for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:33 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:38075) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ld8xg-00081X-TS for qemu-devel@nongnu.org; Fri, 27 Feb 2009 15:05:33 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1RK6U52019508 for ; Fri, 27 Feb 2009 15:06:30 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1RK5VMj193156 for ; Fri, 27 Feb 2009 15:05:31 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1RK4GkD025386 for ; Fri, 27 Feb 2009 15:04:16 -0500 Message-ID: <49A84788.1040806@us.ibm.com> Date: Fri, 27 Feb 2009 14:05:28 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <20090226203428.GP7436@sequoia.sous-sol.org> In-Reply-To: <20090226203428.GP7436@sequoia.sous-sol.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [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: Chris Wright Cc: Juan Quintela , qemu-devel@nongnu.org, Eduardo Habkost Chris Wright wrote: > replace open coded qemu_log_mask with proper macro > > Signed-off-by: Chris Wright > 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; > >