From: Markus Armbruster <armbru@redhat.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Cc: marcandre.lureau@redhat.com, pbonzini@redhat.com,
eblake@redhat.com, berrange@redhat.com, yc-core@yandex-team.ru,
d-tatianin@yandex-team.ru, qemu-devel@nongnu.org,
philmd@linaro.org
Subject: Re: [PATCH v3 3/3] chardev: add logtimestamp option
Date: Wed, 04 Feb 2026 14:11:28 +0100 [thread overview]
Message-ID: <87pl6kwt4v.fsf@pond.sub.org> (raw)
In-Reply-To: <20260201173633.413934-4-vsementsov@yandex-team.ru> (Vladimir Sementsov-Ogievskiy's message of "Sun, 1 Feb 2026 20:36:31 +0300")
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> writes:
> Add an option to inject timestamps into serial log file.
> That simplifies debugging a lot, when you can simply compare
> QEMU logs with guest console logs.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[...]
> diff --git a/qapi/char.json b/qapi/char.json
> index 140614f82c..a4abafa680 100644
> --- a/qapi/char.json
> +++ b/qapi/char.json
> @@ -197,11 +197,15 @@
> # @logappend: true to append instead of truncate (default to false to
> # truncate)
> #
> +# @logtimestamp: true to insert timestamps into logfile
> +# (default false) (since 11.0)
> +#
> # Since: 2.6
> ##
> { 'struct': 'ChardevCommon',
> 'data': { '*logfile': 'str',
> - '*logappend': 'bool' } }
> + '*logappend': 'bool',
> + '*logtimestamp': 'bool' } }
We prefer to separate words with hyphens in member names (see
docs/devel/qapi-code-gen.rst), but local consistency trumps that rule.
>
> ##
> # @ChardevFile:
QAPI schema
Acked-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2026-02-04 13:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-01 17:36 [PATCH v3 0/3] char: add option to inject timestamps into logfile Vladimir Sementsov-Ogievskiy
2026-02-01 17:36 ` [PATCH v3 1/3] char: qemu_chr_write_log() use qemu_write_full() Vladimir Sementsov-Ogievskiy
2026-02-02 11:26 ` Daniel P. Berrangé
2026-02-19 18:07 ` Vladimir Sementsov-Ogievskiy
2026-02-19 18:08 ` Vladimir Sementsov-Ogievskiy
2026-02-25 16:00 ` Daniel P. Berrangé
2026-02-01 17:36 ` [PATCH v3 2/3] error-report: make real_time_iso8601() public Vladimir Sementsov-Ogievskiy
2026-02-01 17:36 ` [PATCH v3 3/3] chardev: add logtimestamp option Vladimir Sementsov-Ogievskiy
2026-02-04 13:11 ` Markus Armbruster [this message]
2026-02-11 11:33 ` [PATCH v3 0/3] char: add option to inject timestamps into logfile Marc-André Lureau
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=87pl6kwt4v.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=d-tatianin@yandex-team.ru \
--cc=eblake@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@yandex-team.ru \
--cc=yc-core@yandex-team.ru \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.