nbd: Use new qio_channel_*_all() functions
Rather than open-coding our own read/write-all functions, we can make use of the recently-added qio code. It slightly changes the error message in one of the iotests. Signed-off-by:Eric Blake <eblake@redhat.com> Message-Id: <20170905191114.5959-4-eblake@redhat.com> Reviewed-by:
Daniel P. Berrange <berrange@redhat.com>
Showing
- block/nbd-client.c 7 additions, 8 deletionsblock/nbd-client.c
- include/block/nbd.h 0 additions, 2 deletionsinclude/block/nbd.h
- nbd/common.c 0 additions, 45 deletionsnbd/common.c
- nbd/nbd-internal.h 7 additions, 34 deletionsnbd/nbd-internal.h
- tests/qemu-iotests/083.out 4 additions, 4 deletionstests/qemu-iotests/083.out
Please register or sign in to comment