> > [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