qxl: upon reset, if spice worker is stopped, the command rings can be not empty
authorYonit Halperin <yhalperi@redhat.com>
Tue, 12 Jul 2011 08:51:58 +0000 (11:51 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jul 2011 08:08:53 +0000 (10:08 +0200)
commit0d525c0d6377eabe59f162e91ae938dd0301ac0c
treededa2f076811f7376aa2eda1e98e9a7f36c280ff
parent1ae1d578d81f3a221aa4767ef03260926a4f306c
qxl: upon reset, if spice worker is stopped, the command rings can be not empty

Spice worker does no longer process commands when it is stopped.
Otherwise, it might crash during migration when attempting to process
commands while the guest is not completely loaded.

Cc: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c