]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
add timestamp to error_report()
authorSeiji Aguchi <seiji.aguchi@hds.com>
Thu, 4 Jul 2013 03:02:46 +0000 (23:02 -0400)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 10 Jul 2013 17:42:09 +0000 (13:42 -0400)
commit5e2ac5191772dea782ff78e95edd395985273019
tree804bd99545123456168886337c520707bd77ea2b
parentf53cae50f81449596e55159cfe61efbef9246b2e
add timestamp to error_report()

[Issue]
When we offer a customer support service and a problem happens
in a customer's system, we try to understand the problem by
comparing what the customer reports with message logs of the
customer's system.

In this case, we often need to know when the problem happens.

But, currently, there is no timestamp in qemu's error messages.
Therefore, we may not be able to understand the problem based on
error messages.

[Solution]
Add a timestamp to qemu's error message logged by
error_report() with g_time_val_to_iso8601().

Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
include/qemu/error-report.h
qemu-options.hx
util/qemu-error.c
vl.c