summaryrefslogtreecommitdiffstats
path: root/include/qapi/qmp
diff options
context:
space:
mode:
authorMarkus Armbruster2020-11-13 09:26:20 +0100
committerMarkus Armbruster2020-12-10 17:16:44 +0100
commit9272186d3dbfc770993195f480422fdf058896c5 (patch)
treec4822e9577ce5dcd78644bdbd41be77d807c9227 /include/qapi/qmp
parentblock: Improve some block-commit, block-stream error messages (diff)
downloadqemu-9272186d3dbfc770993195f480422fdf058896c5.tar.gz
qemu-9272186d3dbfc770993195f480422fdf058896c5.tar.xz
qemu-9272186d3dbfc770993195f480422fdf058896c5.zip
ui: Improve some set_passwd, expire_password error messages
set_passwd and expire_password reject invalid "protocol" with "Invalid parameter 'protocol'". Misleading; the parameter is valid, its value isn't. Improve to "Parameter 'protocol' expects 'vnc' or 'spice'". expire_password fails with "Could not set password". Misleading; improve to "Could not set password expire time". QERR_SET_PASSWD_FAILED is now unused. Drop. Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201113082626.2725812-5-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp')
-rw-r--r--include/qapi/qmp/qerror.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h
index 5d7e69cc1f..d8267129bc 100644
--- a/include/qapi/qmp/qerror.h
+++ b/include/qapi/qmp/qerror.h
@@ -65,9 +65,6 @@
#define QERR_REPLAY_NOT_SUPPORTED \
"Record/replay feature is not supported for '%s'"
-#define QERR_SET_PASSWD_FAILED \
- "Could not set password"
-
#define QERR_UNDEFINED_ERROR \
"An undefined error has occurred"