[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 8/9] Add end of test message
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 8/9] Add end of test message |
Date: |
Tue, 25 Apr 2017 09:11:42 +0100 |
On 25 April 2017 at 04:24, G 3 <address@hidden> wrote:
> Print the message "End of test" on the risu host end.
>
> Signed-off-by: John Arbuckle <address@hidden>
> ---
> risu.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/risu.c b/risu.c
> index ed5b605..e7cbd57 100644
> --- a/risu.c
> +++ b/risu.c
> @@ -63,6 +63,7 @@ void apprentice_sigill(int sig, siginfo_t *si, void *uc)
> return;
> case 1:
> /* end of test */
> + printf("End of test\n");
> exit(0);
> default:
> /* mismatch */
This code is a signal handler, you can't use printf() here.
thanks
-- PMM