On Fri, 06/07 08:27, Richard W.M. Jones wrote: > On Fri, Jun 07, 2013 at 09:54:42AM +0800, Fam Zheng wrote: > > The weird thing is it doesn't work for me, I'm sure something is wrong > > with current upstream, although not totally broken. > > > > $./qemu-io http://localhost/vm/arch.raw -c 'read -v 0 512' > > (stuck here forever, no output) > > This doesn't work for me either. > > *However* it only doesn't work if I use the Fedora version of curl, > which I'm convinced is broken.
I see, it turns out upstream curl works in my case too, thanks. So it's more of curl broken rather than qemu driver. For the timeout issue introduced here, I think it's the effect of implementing timer in the driver, I can't think of a good way to workaround. However the master code not using timer at all is an undocumented usage of libcurl. -- Fam