On Fri, Jan 13, 2017 at 02:17:26PM +0100, Paolo Bonzini wrote:
> This covers both file descriptor callbacks and polling callbacks,
> since they execute related code.
>
> Signed-off-by: Paolo Bonzini
> ---
> aio-posix.c | 7 ---
> aio-win32.c | 6
On 16/01/2017 14:36, Fam Zheng wrote:
>> +/* Note that the handlers do not expect any concurrency; qemu-nbd
>> + * does not instantiate multiple AioContexts yet, nor does it call
>> + * aio_poll/aio_dispatch from multiple threads.
>> + */
>>
On Fri, 01/13 14:17, Paolo Bonzini wrote:
> diff --git a/nbd/server.c b/nbd/server.c
> index efe5cb8..08fb720 100644
> --- a/nbd/server.c
> +++ b/nbd/server.c
> @@ -1366,6 +1366,10 @@ static void nbd_restart_write(void *opaque)
> static void nbd_set_handlers(NBDClient *client)
> {
> if
This covers both file descriptor callbacks and polling callbacks,
since they execute related code.
Signed-off-by: Paolo Bonzini
---
aio-posix.c | 7 ---
aio-win32.c | 6 --
block/curl.c | 16 +---
block/iscsi.c | 4