[Spice-devel] [PATCH 33/35] [temporary] qxl: disable cursor callbacks

alexl at redhat.com alexl at redhat.com
Thu Sep 9 10:16:16 PDT 2010


From: Gerd Hoffmann <kraxel at 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



More information about the Spice-devel mailing list