qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-11.0 0/5] some improvements around error reporting
@ 2025-11-27 17:33 Vladimir Sementsov-Ogievskiy
  2025-11-27 17:33 ` [PATCH 1/5] ui/vnc: don't use of error_printf_unless_qmp() Vladimir Sementsov-Ogievskiy
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2025-11-27 17:33 UTC (permalink / raw)
  To: dave, armbru; +Cc: pbonzini, marcandre.lureau, qemu-devel, vsementsov

Hi all. The main thing I wanted to do is to enable timestamps
for errer_report() and friends when QMP monitor is active.
Analyzing logs without timestamps is painful.

And some enhancements here and there around.

Vladimir Sementsov-Ogievskiy (5):
  ui/vnc: don't use of error_printf_unless_qmp()
  monitor: remove unused error_printf_unless_qmp() function
  monitor: rework monitor_cur_is_qmp() into monitor_cur_is_hmp()
  error: print error_report timestamp when QMP monitor is active
  error-report: fix doc for vreport()

 include/monitor/monitor.h      |  5 +----
 monitor/monitor.c              | 30 +++---------------------------
 stubs/error-printf.c           |  5 -----
 stubs/monitor-core.c           |  5 +++++
 tests/unit/test-util-sockets.c |  1 +
 ui/vnc.c                       |  9 ++++-----
 util/error-report.c            | 25 +++++++++++++++----------
 7 files changed, 29 insertions(+), 51 deletions(-)

-- 
2.48.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-11-28 10:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 17:33 [PATCH for-11.0 0/5] some improvements around error reporting Vladimir Sementsov-Ogievskiy
2025-11-27 17:33 ` [PATCH 1/5] ui/vnc: don't use of error_printf_unless_qmp() Vladimir Sementsov-Ogievskiy
2025-11-27 17:33 ` [PATCH 2/5] monitor: remove unused error_printf_unless_qmp() function Vladimir Sementsov-Ogievskiy
2025-11-27 17:33 ` [PATCH 3/5] monitor: rework monitor_cur_is_qmp() into monitor_cur_is_hmp() Vladimir Sementsov-Ogievskiy
2025-11-27 17:33 ` [PATCH 4/5] error: print error_report timestamp when QMP monitor is active Vladimir Sementsov-Ogievskiy
2025-11-27 17:33 ` [PATCH 5/5] error-report: fix doc for vreport() Vladimir Sementsov-Ogievskiy
2025-11-27 20:51 ` [PATCH for-11.0 0/5] some improvements around error reporting Daniel P. Berrangé
2025-11-28 10:23   ` Vladimir Sementsov-Ogievskiy

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).