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