diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-06 14:56:57 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-06 15:31:23 +0200 |
commit | f6a60a69b8d8f5bddd5d12caaeab06a6aec7cc17 (patch) | |
tree | 3fd23755e8f550332f63945eac9354d77f32536c | |
parent | 6e406d7c62453f30d4b0ab71544c12ff64f25512 (diff) |
[temporary] qxl: disable cursor callbacks
Will deadlock in case cursor rendering is triggered via
QXL_IO_UPDATE_AREA.
-rw-r--r-- | 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 b92c68c78..2b1c6e7ca 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; } } |