]> git.proxmox.com Git - qemu.git/commit
qxl: fix surface tracking & locking
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jul 2011 09:20:53 +0000 (12:20 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Aug 2011 10:43:49 +0000 (12:43 +0200)
commit14898cf6e9994319e7947b223f637f964f9256e0
treeb3151427836ae2696a3f572eb97c2d594d60f912
parentaee32bf333b13994d9eafb768129e4c2c8688887
qxl: fix surface tracking & locking

Surface tracking needs proper locking since it is used from vcpu and spice
worker threads, add it.  Also reset the surface counter when zapping all
surfaces.

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