qxl: make sure we continue to run with a shared buffer
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 21 Oct 2011 19:53:54 +0000 (21:53 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 1 Nov 2011 11:11:53 +0000 (12:11 +0100)
commita053f1b1fb63cb57483354db7b154e9a2e585b5a
treeddee16ed23374b5bb8dba9f61e8e879589173ce8
parent0e2487bd6f56445b43307536a465ee2ba810aed9
qxl: make sure we continue to run with a shared buffer

The qxl renderer works only with a shared displaysurface.  So better
make sure we actually have one and restore it when needed.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl-render.c