[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC][PATCH]Add timestamp to error message
From: |
Seiji Aguchi |
Subject: |
Re: [Qemu-devel] [RFC][PATCH]Add timestamp to error message |
Date: |
Mon, 4 Feb 2013 16:09:39 +0000 |
> > [TODO]
> > Other functions below are used to output error messages in qemu.
> > - qerror_report() is called in many source codes.
>
> Not a problem, it ends up in qerror_print(), which calls error_report().
Thanks.
>
> > - fprintf() is called in vl.c.
>
> All over the place, not just vl.c. Also monitor_printf().
I will take a look at the code in monitor_printf() and fprintf() in other
places.
> > On the other hand, qerror_report() and fprintf () seems to be called
> > in signal handers.
>
> fprintf() in a signal handler? Where?
Sorry, I misunderstood the code.
In signal handers, qemu just set a value like shutdown_signal and shutdown_pid
or so.
Seiji