summary refs log tree commit diff stats
path: root/include/qapi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-05-14 12:58:27 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-05-27 12:59:10 +0200
commitcec07c79a41827689f9b9ea7be47fd1ae17a1242 (patch)
treeffe48988c0579ef62734b591756e922e3b12fabc /include/qapi
parentecfc9890c41541fb08ce07a6ff26e7bd14f74967 (diff)
downloadfocaccia-qemu-cec07c79a41827689f9b9ea7be47fd1ae17a1242.tar.gz
focaccia-qemu-cec07c79a41827689f9b9ea7be47fd1ae17a1242.zip
qga: Shorten several error messages
Some, but not all error messages are of the form

    Guest agent command failed, error was '<actual error message>'

For instance, command guest-exec can fail with an error message like

    Guest agent command failed, error was 'Failed to execute child process “/bin/invalid-cmd42” (No such file or directory)'

Shorten this to just just the actual error message.  The guest-exec
example becomes

    Failed to execute child process “/bin/invalid-cmd42” (No such file or directory)

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240514105829.729342-3-armbru@redhat.com>
[Superfluous #include "qapi/qmp/qerror.h" deleted]
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions