]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 Jun 2012 13:14:20 +0000 (15:14 +0200)
commite0f0131d33e283f1b76c05eb7bef4bbbb3f2fd72
tree709e386f205dc6b7487e78ea79bbc8850edcc126
parent79521a5e5b6f1427060217d8791ae946952ea934
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".
src/qemu/qemu_hotplug.c