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