summaryrefslogtreecommitdiffstats
path: root/ui/spice-core.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-03-11 12:43:43 +0100
committerGerd Hoffmann2021-03-15 17:37:44 +0100
commitc47c0bcb33e154b82b4f6b90984aba998fcc4f18 (patch)
tree83dcb08e23fbbc3ef94f8ec34c7021d563d834cb /ui/spice-core.c
parentui: introduce "password-secret" option for SPICE server (diff)
downloadqemu-c47c0bcb33e154b82b4f6b90984aba998fcc4f18.tar.gz
qemu-c47c0bcb33e154b82b4f6b90984aba998fcc4f18.tar.xz
qemu-c47c0bcb33e154b82b4f6b90984aba998fcc4f18.zip
ui: deprecate "password" option for SPICE server
With the new "password-secret" option, there is no reason to use the old inecure "password" option with -spice, so it can be deprecated. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20210311114343.439820-4-berrange@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-core.c')
-rw-r--r--ui/spice-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c
index b9d8aced91..272d19b0c1 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -686,6 +686,8 @@ static void qemu_spice_init(void)
} else {
str = qemu_opt_get(opts, "password");
if (str) {
+ warn_report("'password' option is deprecated and insecure, "
+ "use 'password-secret' instead");
password = g_strdup(str);
}
}