Fiona Ebner <f.eb...@proxmox.com> wrote: > in the error case. The documentation in include/io/channel.h states > that -1 or QIO_CHANNEL_ERR_BLOCK should be returned upon error. Simply > passing along the return value from the bdrv-functions has the > potential to confuse the call sides. Non-blocking mode is not > implemented currently, so -1 it is. > > Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> Queued in migration tree.