libxl: Fix setting vncpasswd to empty string
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 4 Nov 2019 15:30:47 +0000 (15:30 +0000)
committerWei Liu <wl@xen.org>
Tue, 12 Nov 2019 10:39:01 +0000 (10:39 +0000)
commitcda8f7e8576503b5e16fdf48d2630ad40cb7c7ef
tree6c390574d0060be1989058132c5354fa79c4115a
parent0c2a55089bf23b6074af87c12fa61acc001c1566
libxl: Fix setting vncpasswd to empty string

Before 93dcc22, error from setting the vnc password to an empty
string, when QEMU wasn't expected a password, never prevented the creation
of a guest, and only logged an error message.

Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Fixes: 93dcc22fe798c9fa5ce117f1ed6db0d8bd779020
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_dm.c