spice: don't create updates in spice server context.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Apr 2011 13:21:51 +0000 (15:21 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 3 May 2011 13:35:48 +0000 (15:35 +0200)
commit9cd868de1a7df4ab9f03b8f0349bbc1fb73463a2
tree28edc41f690715dc40d56177764b8a848eb368ba
parentcda727132de3dc18a540795481a314582b41a664
spice: don't create updates in spice server context.

This patch moves the creation of spice screen updates from the spice
server context to qemu iothread context (display refresh timer to be
exact).  This way we avoid accessing qemu internals (display surface)
from spice thread context which in turn allows us to simplify locking.

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