diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-11-13 09:26:21 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-12-10 17:16:44 +0100 |
commit | 9e1b9c6c2d909d399ced0379e7095716c611b0f9 (patch) | |
tree | 176eff65decd865a089e25e682956f8da79726af /monitor/misc.c | |
parent | 9272186d3dbfc770993195f480422fdf058896c5 (diff) | |
download | qemu-9e1b9c6c2d909d399ced0379e7095716c611b0f9.zip qemu-9e1b9c6c2d909d399ced0379e7095716c611b0f9.tar.gz qemu-9e1b9c6c2d909d399ced0379e7095716c611b0f9.tar.bz2 |
ui: Improve a client_migrate_info error message
client_migrate_info reports spice_server_migrate_connect() failure as
"An undefined error has occurred". Improve to "Could not set up
display for migration".
QERR_UNDEFINED_ERROR is now unused. Drop.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201113082626.2725812-6-armbru@redhat.com>
Diffstat (limited to 'monitor/misc.c')
-rw-r--r-- | monitor/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/misc.c b/monitor/misc.c index c563e90..bb102df 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -441,7 +441,7 @@ void qmp_client_migrate_info(const char *protocol, const char *hostname, has_port ? port : -1, has_tls_port ? tls_port : -1, cert_subject)) { - error_setg(errp, QERR_UNDEFINED_ERROR); + error_setg(errp, "Could not set up display for migration"); return; } return; |