qxl: better cleanup for surface destroy
commit753b8b0d77ba1b343a35f9679cc777ea10a62bba
authorUri Lublin <uril@redhat.com>
Tue, 11 Sep 2012 07:09:58 +0000 (11 10:09 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2012 06:09:48 +0000 (12 08:09 +0200)
treecff607a0326b89486734a3752769691a1bf0fed0
parentab902981cf4d46834d82eb095f2b9ab159e017bf
qxl: better cleanup for surface destroy

Add back a call to qxl_spice_destroy_surface_wait_complete() in qxl_spice_destroy_surface_wait(),
that was removed by commit c480bb7da465186b84d8427e068ef7502e47ffbf

It is needed to complete surface-removal cleanup, for non async.
For async, qxl_spice_destroy_surface_wait_complete is called upon operation completion.

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