* [Qemu-devel] [PATCH] x86: use qemu_log_mask on triple faults
@ 2009-02-26 20:34 Chris Wright
2009-02-26 20:42 ` [Qemu-devel] " Eduardo Habkost
2009-02-27 20:05 ` Anthony Liguori
0 siblings, 2 replies; 3+ messages in thread
From: Chris Wright @ 2009-02-26 20:34 UTC (permalink / raw)
To: Anthony Liguori; +Cc: Juan Quintela, qemu-devel, Eduardo Habkost
replace open coded qemu_log_mask with proper macro
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
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;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: [PATCH] x86: use qemu_log_mask on triple faults
2009-02-26 20:34 [Qemu-devel] [PATCH] x86: use qemu_log_mask on triple faults Chris Wright
@ 2009-02-26 20:42 ` Eduardo Habkost
2009-02-27 20:05 ` Anthony Liguori
1 sibling, 0 replies; 3+ messages in thread
From: Eduardo Habkost @ 2009-02-26 20:42 UTC (permalink / raw)
To: Chris Wright; +Cc: qemu-devel, Juan Quintela
On Thu, Feb 26, 2009 at 12:34:28PM -0800, Chris Wright wrote:
> replace open coded qemu_log_mask with proper macro
>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> 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;
>
>
--
Eduardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: [PATCH] x86: use qemu_log_mask on triple faults
2009-02-26 20:34 [Qemu-devel] [PATCH] x86: use qemu_log_mask on triple faults Chris Wright
2009-02-26 20:42 ` [Qemu-devel] " Eduardo Habkost
@ 2009-02-27 20:05 ` Anthony Liguori
1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2009-02-27 20:05 UTC (permalink / raw)
To: Chris Wright; +Cc: Juan Quintela, qemu-devel, Eduardo Habkost
Chris Wright wrote:
> replace open coded qemu_log_mask with proper macro
>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
>
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;
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-27 20:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 20:34 [Qemu-devel] [PATCH] x86: use qemu_log_mask on triple faults Chris Wright
2009-02-26 20:42 ` [Qemu-devel] " Eduardo Habkost
2009-02-27 20:05 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).