[Qemu-devel] [PATCH 04/16] aio: only call aio_poll_internal from iothread

2016-02-09 Thread Paolo Bonzini
aio_poll is not thread safe; it can report progress incorrectly when called from the main thread. The bug remains latent as long as all of it is called within aio_context_acquire/aio_context_release, but this will change soon. The details of the bug are pretty simple, but fixing it in an efficien

Re: [Qemu-devel] [PATCH 04/16] aio: only call aio_poll_internal from iothread

2016-02-08 Thread Eric Blake
On 02/08/2016 09:14 AM, Paolo Bonzini wrote: > aio_poll is not thread safe; it can report progress incorrectly when > called from the main thread. The bug remains latent as long as > all of it is called within aio_context_acquire/aio_context_release, > but this will change soon. > > The details o

[Qemu-devel] [PATCH 04/16] aio: only call aio_poll_internal from iothread

2016-02-08 Thread Paolo Bonzini
aio_poll is not thread safe; it can report progress incorrectly when called from the main thread. The bug remains latent as long as all of it is called within aio_context_acquire/aio_context_release, but this will change soon. The details of the bug are pretty simple, but fixing it in an efficien

[Qemu-devel] [PATCH 04/16] aio: only call aio_poll_internal from iothread

2016-01-15 Thread Paolo Bonzini
aio_poll is not thread safe; it can report progress incorrectly when called from the main thread. The bug remains latent as long as all of it is called within aio_context_acquire/aio_context_release, but this will change soon. The details of the bug are pretty simple, but fixing it in an efficien