]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Enable disconnecting SPICE clients without changing password
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Jun 2012 12:48:42 +0000 (14:48 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jun 2012 22:38:27 +0000 (18:38 -0400)
commite6c5ae46f7cb552313ee3c07736c28d50294fdcc
tree826451c39facc87ee3ae88de0647a13b8ea43161
parent0889bdb844e155dfb51a224094554f0836b8c230
qemu: Enable disconnecting SPICE clients without changing password

Libvirt updates the configuration of SPICE server only when something
changes. This is unfortunate when the user wants to disconnect a
existing spice session when the connected attribute is already
"disconnect".

This patch modifies the conditions for calling the password updater to
be called when nothing changes, but the connected attribute is already
"disconnect".
(cherry picked from commit e0f0131d33e283f1b76c05eb7bef4bbbb3f2fd72)
src/qemu/qemu_hotplug.c