aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2016-01-12 15:08:58 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-01-18 16:36:21 +0100
commit06bb88145cb977fe699a80df82b619eadbc29b28 (patch)
tree5975fa40fc5674e9c20102e411513d3a57a04463 /ui/vnc.c
parent67c4c2bd958b0074ffbcde12cb434cd064adab12 (diff)
downloadqemu-06bb88145cb977fe699a80df82b619eadbc29b28.zip
qemu-06bb88145cb977fe699a80df82b619eadbc29b28.tar.gz
qemu-06bb88145cb977fe699a80df82b619eadbc29b28.tar.bz2
Fix corner-case when using VNC+SASL+SPICE
Similarly to the commit 764eb39d1b6 fixing VNC+SASL+QXL, when starting QEMU with SPICE but no SASL, and at the same time VNC with SASL, then spice_server_init() will get called without a previous call to spice_server_set_sasl_appname(), which will cause cyrus-sasl to try to use /etc/sasl2/spice.conf (spice-server uses "spice" as its default appname) rather than the expected /etc/sasl2/qemu.conf. This commit unconditionally calls spice_server_set_sasl_appname() before calling spice_server_init() in order to use the correct appname even if SPICE without SASL was requested on qemu command line. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Message-id: 1452607738-1521-1-git-send-email-cfergeau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.c')
0 files changed, 0 insertions, 0 deletions