qemu/monitor
Markus Armbruster f8f2e9a859 ui: Improve "change vnc" error reporting
Switch from monitor_printf() to error_setg() and hmp_handle_error().
This makes "this is an error" more obvious both in the source and in
the monitor, where hmp_handle_error() prefixes the message with
"Error: ".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230109190321.1056914-13-armbru@redhat.com>
2023-01-19 13:30:01 +01:00
..
hmp-cmds.c ui: Improve "change vnc" error reporting 2023-01-19 13:30:01 +01:00
hmp.c monitor: expose monitor_puts to rest of code 2022-10-06 11:53:40 +01:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c ui: Move HMP commands from monitor to new ui/ui-hmp-cmds.c 2023-01-19 13:30:01 +01:00
monitor-internal.h monitor: expose monitor_puts to rest of code 2022-10-06 11:53:40 +01:00
monitor.c monitor: Use ERRP_GUARD() in monitor_init() 2022-12-14 16:19:35 +01:00
qmp-cmds-control.c qapi: Implement deprecated-output=hide for QMP introspection 2021-03-19 16:05:11 +01:00
qmp-cmds.c ui: Factor out qmp_add_client() parts and move to ui/ui-qmp-cmds.c 2023-01-19 13:30:01 +01:00
qmp.c monitor/qmp: fix race on CHR_EVENT_CLOSED without OOB 2021-05-12 17:29:11 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00