|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PULL 08/12] spice-display: fix qemu_spice_cursor_refresh_bh locking |
| Date: | Tue, 21 Aug 2018 11:45:20 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 21/08/2018 09:45, Gerd Hoffmann wrote:
> + qemu_mutex_lock(&ssd->lock);
> if (ssd->cursor) {
> + QEMUCursor *c = ssd->cursor;
> assert(ssd->dcl.con);
> + cursor_get(c);
> + qemu_mutex_unlock(&ssd->lock);
> dpy_cursor_define(ssd->dcl.con, ssd->cursor);
Gerd,
this ssd->cursor should be "c" in the call to dpy_cursor_define. My
apologies; please tell me if you'd like me to send a follow-up fix.
Paolo
> + qemu_mutex_lock(&ssd->lock);
> + cursor_put(c);
> }
| [Prev in Thread] | Current Thread | [Next in Thread] |