qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block/curl: Implement the libcurl timer callbac


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH] block/curl: Implement the libcurl timer callback interface
Date: Wed, 15 Jan 2014 21:37:19 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Wed, Jan 15, 2014 at 05:23:58PM +0000, Peter Maydell wrote:
> libcurl versions 7.16.0 and later have a timer callback interface which
> must be implemented in order for libcurl to make forward progress (it
> will sometimes rely on being called back on the timeout if there are
> no file descriptors registered). Implement the callback, and use a
> QEMU AIO timer to ensure we prod libcurl again when it asks us to.

Somewhat off topic, but does the curl driver work for you at all?
Especially if you have a disk image on a remote server, but one with
relatively low latency (eg. on a LAN but not localhost).

We have had endless problems with it, including upstream discussions
with curl people, summarised in this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=971790

Just now I tried the latest qemu from git with and without your patch
and still cannot make it work, although the bugginess is now different
from RHBZ#971790.  I opened a new bug about what I'm seeing today
(https://bugs.launchpad.net/qemu/+bug/1269606).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]