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. >> + */ >> aio_set_fd_handler(client->exp->ctx, client->sioc->fd, true, >> client->can_read ? nbd_read : NULL, >> client->send_coroutine ? nbd_restart_write : >> NULL, > > What about the built-in server (QMP nbd_server_start)?
Will fix. :) Paolo