qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH for-3.0 3/3] linux-user: Report error message


From: Peter Maydell
Subject: Re: [Qemu-trivial] [PATCH for-3.0 3/3] linux-user: Report error message on stderr, rather than stdout
Date: Fri, 6 Jul 2018 17:10:56 +0100

On 6 July 2018 at 16:51, Philippe Mathieu-Daudé <address@hidden> wrote:
> Code change produced with:
>
>   git ls-files linux-user | \
>   xargs sed -i -E 's/(\s+)printf\s*\(("Unhandled.*)\);/\1fprintf(stderr, 
> \2);/g'
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
>  linux-user/alpha/cpu_loop.c      | 2 +-
>  linux-user/cris/cpu_loop.c       | 2 +-
>  linux-user/microblaze/cpu_loop.c | 6 +++---
>  linux-user/sh4/cpu_loop.c        | 2 +-
>  linux-user/sparc/cpu_loop.c      | 2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)

Makes sense, as we're about to print the cpu_dump_state output to
stderr too.

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]