Peter Xu <pet...@redhat.com> wrote: > We were checking against -EIO, assuming that it will cover all IO > failures. But actually it is not. One example is that in > qemu_loadvm_section_start_full() we can have tons of places that will > return -EINVAL even if the error is caused by IO failures on the > network. > > Let's loosen the recovery check logic here to cover all the error cases > happened by removing the explicit check against -EIO. After all we > won't lose anything here if any other failure happened. > > Signed-off-by: Peter Xu <pet...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>