qemu/include/qapi
Markus Armbruster 5237737439 error: Fix "to current monitor if we have one" comments
A number of print functions are documented to print to "current
monitor if we have one, else stderr".  Wrong, they print to the
current monitor only when it's HMP.  This is the case since commit
4ad417baa4 (error: Print error_report() to stderr if using qmp).

Fix the comments to say "current HMP monitor if we have one".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20260114124713.3308719-2-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
[Commit a582a5784e (monitor: move error_vprintf back to
error-report.c) lost a comment this commit fixes, restore it]
2026-05-05 12:50:35 +02:00
..
qmp qapi: Move and rename qapi/qmp/dispatch.h to qapi/qmp-registry.h 2025-02-10 15:33:29 +01:00
clone-visitor.h qapi: Do not cast function pointers 2024-05-29 12:41:56 +02:00
compat-policy.h qapi: change 'unsigned special_features' to 'uint64_t features' 2025-02-10 15:45:04 +01:00
dealloc-visitor.h include: Fix typos found by codespell 2017-01-24 23:26:52 +03:00
error-internal.h util/error: make func optional 2025-06-05 20:24:51 +02:00
error.h error: Fix "to current monitor if we have one" comments 2026-05-05 12:50:35 +02:00
forward-visitor.h qapi: introduce forwarding visitor 2021-07-23 18:17:17 +02:00
opts-visitor.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qmp-event.h qapi: Eliminate indirection through qmp_event_get_func_emit() 2019-01-24 10:01:05 +01:00
qmp-registry.h qapi: change 'unsigned special_features' to 'uint64_t features' 2025-02-10 15:45:04 +01:00
qobject-input-visitor.h qapi: Move compat policy from QObject to generic visitor 2021-10-27 17:19:15 +02:00
qobject-output-visitor.h qapi: Move compat policy from QObject to generic visitor 2021-10-27 17:19:15 +02:00
string-input-visitor.h qapi: Rewrite string-input-visitor's integer and list parsing 2018-12-13 19:10:06 +01:00
string-output-visitor.h string-output-visitor: show structs as "<omitted>" 2023-12-21 22:49:28 +01:00
type-helpers.h qapi: New strv_from_str_list() 2024-03-04 07:12:40 +01:00
util.h qapi: change 'unsigned special_features' to 'uint64_t features' 2025-02-10 15:45:04 +01:00
visitor-impl.h qapi: change 'unsigned special_features' to 'uint64_t features' 2025-02-10 15:45:04 +01:00
visitor.h qapi: change 'unsigned special_features' to 'uint64_t features' 2025-02-10 15:45:04 +01:00