]> git.proxmox.com Git - qemu.git/commit - hw/display/qxl.c
qxl: send interrupt after migration in case ram->int_pending != 0, RHBZ #732949
authorYonit Halperin <yhalperi@redhat.com>
Mon, 5 Sep 2011 05:45:58 +0000 (08:45 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:20:09 +0000 (09:20 +0200)
commitefbf2950f52d467695db2944eea7664ede19fa9b
tree504d5644b0f04367ae1a0aa5478d16215ab3599d
parenta680f7e7cbe8bebd15de2d974989d4e58810837d
qxl: send interrupt after migration in case ram->int_pending != 0, RHBZ #732949

if qxl_send_events was called from spice server context, and then
migration had completed before a call to pipe_read, the target
guest qxl driver didn't get the interrupt. In addition,
qxl_send_events ignored further interrupts of the same kind, since
ram->int_pending was set. As a result, the guest driver was stacked
or very slow (when the waiting for the interrupt was with timeout).

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