From: Laszlo Ersek <lersek@redhat.com>
To: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com,
mtosatti@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com,
dle-develop@lists.sourceforge.net, tomoki.sekiyama@hds.com,
pbonzini@redhat.com, lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCH v5] Add timestamp to error_report()
Date: Tue, 02 Jul 2013 08:47:13 +0200 [thread overview]
Message-ID: <51D27771.6080904@redhat.com> (raw)
In-Reply-To: <51D1D04F.3010201@hds.com>
On 07/01/13 20:54, Seiji Aguchi wrote:
> [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>
> ---
> Changelog
> v4 -> v5
> - Use sizeof() to define TIMESTAMP_LEN.
> - Fix descriptions of msg option.
> - Rename TIME_H to QEMU_TIME_H. (avoiding double inclusion of qemu/time.h)
> - Change argument of qemu_get_timestamp_str to "char *" and "size_t".
> - Confirmed msg option is displayed by query-command-line-options.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Since you plan to post followup patches, please at that time include a
one-liner modification: the STEXI-ETEXI section in "qemu-options.hx"
still says (right before ETEXI) "(disabled by default)". I think it
should be fixed in a followup, not by posting v6.
Thanks!
Laszlo
next prev parent reply other threads:[~2013-07-02 6:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 18:54 [Qemu-devel] [PATCH v5] Add timestamp to error_report() Seiji Aguchi
2013-07-02 6:47 ` Laszlo Ersek [this message]
2013-07-02 9:09 ` Stefan Hajnoczi
2013-07-02 14:09 ` Seiji Aguchi
2013-07-03 9:10 ` Stefan Hajnoczi
2013-07-04 2:57 ` Seiji Aguchi
2013-07-03 9:13 ` Stefan Hajnoczi
2013-07-04 2:57 ` Seiji Aguchi
2013-07-04 8:49 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51D27771.6080904@redhat.com \
--to=lersek@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=armbru@redhat.com \
--cc=dle-develop@lists.sourceforge.net \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seiji.aguchi@hds.com \
--cc=stefanha@gmail.com \
--cc=tomoki.sekiyama@hds.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).