Commit 680c30692dc9e8f6d63ad0eb6ddb2a9ace0503cf

Authored by aliguori
1 parent 1b8fc811

x86: use qemu_log_mask on triple faults (Chris Wright)

replace open coded qemu_log_mask with proper macro

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6649 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 2 deletions
target-i386/op_helper.c
... ... @@ -1275,8 +1275,7 @@ static int check_exception(int intno, int *error_code)
1275 1275 if (env->hflags & HF_SVMI_MASK)
1276 1276 helper_vmexit(SVM_EXIT_SHUTDOWN, 0); /* does not return */
1277 1277  
1278   - if (qemu_loglevel_mask(CPU_LOG_RESET))
1279   - fprintf(logfile, "Triple fault\n");
  1278 + qemu_log_mask(CPU_LOG_RESET, "Triple fault\n");
1280 1279  
1281 1280 qemu_system_reset_request();
1282 1281 return EXCP_HLT;
... ...