From c47c0bcb33e154b82b4f6b90984aba998fcc4f18 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrangé Date: Thu, 11 Mar 2021 11:43:43 +0000 Subject: 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é Message-Id: <20210311114343.439820-4-berrange@redhat.com> Signed-off-by: Gerd Hoffmann --- ui/spice-core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui') 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); } } -- cgit v1.2.3-55-g7522