spice-display: replace private lock with qemu mutex.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 14 Oct 2010 14:55:01 +0000 (16:55 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Nov 2010 11:43:04 +0000 (12:43 +0100)
commitf46585e0c5421f51ca13532590d2a630cdb2b81e
tree6a7e88bdde95c3d981c825c5e8f971c86e1aa5aa
parent85762b83f52a903c2bc8996c13c1ff5d5156d93b
spice-display: replace private lock with qemu mutex.

qemu_spice_create_update() must aquire the global qemu mutex to
make sure DisplayState doesn't change while we are accessing it.

Once this is in place the private lock is pretty pointless as
everything it protects is covered by the global qemu mutex now.
Drop it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-display.c
ui/spice-display.h