[PATCH 0/3] char: add option to inject timestamps into logfile

Vladimir Sementsov-Ogievskiy posted 3 patches 13 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251128200536.207344-1-vsementsov@yandex-team.ru
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Markus Armbruster <armbru@redhat.com>, Eric Blake <eblake@redhat.com>
chardev/char.c              | 73 +++++++++++++++++++++++++++++--------
include/chardev/char.h      |  2 +
include/qemu/error-report.h |  6 +++
qapi/char.json              |  6 ++-
util/error-report.c         |  7 ----
5 files changed, 70 insertions(+), 24 deletions(-)
[PATCH 0/3] char: add option to inject timestamps into logfile
Posted by Vladimir Sementsov-Ogievskiy 13 hours ago
Hi all!

The ability to correlate the QEMU log and the guest log can be useful
for investigating problems. So, I suggest an option to inject timestimps
into logfile while writing it.

[sorry for resending, I forget to add qemu-devel on first try :(]

Vladimir Sementsov-Ogievskiy (3):
  char: qemu_chr_write_log() use qemu_write_full()
  error-report: move real_time_iso8601() to header
  chardev: add logtimestamp option

 chardev/char.c              | 73 +++++++++++++++++++++++++++++--------
 include/chardev/char.h      |  2 +
 include/qemu/error-report.h |  6 +++
 qapi/char.json              |  6 ++-
 util/error-report.c         |  7 ----
 5 files changed, 70 insertions(+), 24 deletions(-)

-- 
2.48.1