qemu/nbd
Daniel P. Berrange 60e705c51c io: change the QIOTask callback signature
Currently the QIOTaskFunc signature takes an Object * for
the source, and an Error * for any error. We also need to
be able to provide a result pointer. Rather than continue
to add parameters to QIOTaskFunc, remove the existing
ones and simply pass the QIOTask object instead. This
has methods to access all the other data items required
in the callback impl.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2017-01-23 15:32:18 +00:00
..
client.c nbd: Don't inf-loop on early EOF 2016-11-10 16:01:30 +01:00
common.c io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
server.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00