Re: [Qemu-devel] [PATCH] qemu_mutex_iothread_locked not correctly synchronized

2015-11-25 Thread David Engraf
Hi Paolo, Am 24.11.2015 um 16:54 schrieb Paolo Bonzini: On 24/11/2015 16:43, David Engraf wrote: Commit afbe70535ff1a8a7a32910cc15ebecc0ba92e7da introduced the function qemu_mutex_iothread_locked to avoid recursive locking of the iothread lock. The iothread_locked variable uses the __thread att

[Qemu-devel] [PATCH] qemu_mutex_iothread_locked not correctly synchronized

2015-11-24 Thread David Engraf
Commit afbe70535ff1a8a7a32910cc15ebecc0ba92e7da introduced the function qemu_mutex_iothread_locked to avoid recursive locking of the iothread lock. The iothread_locked variable uses the __thread attribute which results in a per thread storage location whereas the qemu_global_mutex is not thread

Re: [Qemu-devel] [PATCH] qemu_mutex_iothread_locked not correctly synchronized

2015-11-24 Thread Paolo Bonzini
On 24/11/2015 16:43, David Engraf wrote: > Commit afbe70535ff1a8a7a32910cc15ebecc0ba92e7da introduced the function > qemu_mutex_iothread_locked to avoid recursive locking of the iothread > lock. The iothread_locked variable uses the __thread attribute which > results in a per thread storage locat