From: Gerd Hoffmann <kra...@redhat.com> Will deadlock in case cursor rendering is triggered via QXL_IO_UPDATE_AREA. --- hw/qxl-render.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/qxl-render.c b/hw/qxl-render.c index b92c68c..2b1c6e7 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -196,18 +196,22 @@ void qxl_render_cursor(PCIQXLDevice *qxl, QXLCommandExt *ext) if (c == NULL) { c = cursor_builtin_left_ptr(); } +#if 0 qemu_mutex_lock_iothread(); qxl->ssd.ds->cursor_define(c); qxl->ssd.ds->mouse_set(x, y, 1); qemu_mutex_unlock_iothread(); +#endif cursor_put(c); break; case QXL_CURSOR_MOVE: x = cmd->u.position.x; y = cmd->u.position.y; +#if 0 qemu_mutex_lock_iothread(); qxl->ssd.ds->mouse_set(x, y, 1); qemu_mutex_unlock_iothread(); +#endif break; } } -- 1.7.0.1 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel