Re: [Qemu-devel] [PATCH] block/curl: Don't lose original error when a connection fails.

2015-07-01 Thread John Snow
On 06/25/2015 03:39 PM, Richard W.M. Jones wrote: > Currently if qemu is connected to a curl source (eg. web server), and > the web server fails / times out / dies, you always see a bogus EIO > "Input/output error". > > For example, choose a large file located on any local webserver which > you

[Qemu-devel] [PATCH] block/curl: Don't lose original error when a connection fails.

2015-06-25 Thread Richard W.M. Jones
Currently if qemu is connected to a curl source (eg. web server), and the web server fails / times out / dies, you always see a bogus EIO "Input/output error". For example, choose a large file located on any local webserver which you control: $ qemu-img convert -p http://example.com/large.iso /