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.
v2: do not make real_time_iso8601 static inline Vladimir Sementsov-Ogievskiy (3): char: qemu_chr_write_log() use qemu_write_full() error-report: make real_time_iso8601() public 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 | 3 +- 5 files changed, 71 insertions(+), 19 deletions(-) -- 2.48.1
