aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-09-11 15:12:06 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-10-18 15:03:35 +0200
commitbd783b5cd6ed02d83357632aa230c73166704cdb (patch)
tree04ded7dcb15144ededa0690e4c7341ec51911b19 /qga
parentbdebb722cfbdc107717551dbbc423887314e9d92 (diff)
qga: Improve error for guest-set-user-password parameter @crypted
The Windows version of guest-set-user-password rejects argument "crypted": true with the rather useless "this feature or command is not currently supported". Improve to "'crypted' must be off on this host". QERR_UNSUPPORTED is now unused. Drop. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240911131206.2503035-3-armbru@redhat.com>
Diffstat (limited to 'qga')
-rw-r--r--qga/commands-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 61b36da469..038beb8cfa 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -1914,7 +1914,7 @@ void qmp_guest_set_user_password(const char *username,
GError *gerr = NULL;
if (crypted) {
- error_setg(errp, QERR_UNSUPPORTED);
+ error_setg(errp, "'crypted' must be off on this host");
return;
}