Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-15 Thread Stefan Hajnoczi
On Wed, May 15, 2013 at 11:29:29AM +0800, Fam Zheng wrote: > On Thu, 05/09 17:16, Stefan Hajnoczi wrote: > > On Thu, May 09, 2013 at 02:56:50PM +0800, Fam Zheng wrote: > > > On Thu, 05/09 08:41, Stefan Hajnoczi wrote: > > > > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > > > > +

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-14 Thread Fam Zheng
On Thu, 05/09 17:16, Stefan Hajnoczi wrote: > On Thu, May 09, 2013 at 02:56:50PM +0800, Fam Zheng wrote: > > On Thu, 05/09 08:41, Stefan Hajnoczi wrote: > > > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > > > +cache = curl_find_cache(s, aio_base, aio_bytes); > > > > +if (ca

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-09 Thread Stefan Hajnoczi
On Thu, May 09, 2013 at 02:56:50PM +0800, Fam Zheng wrote: > On Thu, 05/09 08:41, Stefan Hajnoczi wrote: > > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > > +cache = curl_find_cache(s, aio_base, aio_bytes); > > > +if (cache) { > > > +curl_complete_io(s, acb, cache);

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-08 Thread Fam Zheng
On Thu, 05/09 08:41, Stefan Hajnoczi wrote: > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > @@ -391,7 +427,12 @@ static QemuOptsList runtime_opts = { > > .type = QEMU_OPT_SIZE, > > .help = "Readahead size", > > }, > > -{ /* end of list */

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-08 Thread Stefan Hajnoczi
On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > @@ -391,7 +427,12 @@ static QemuOptsList runtime_opts = { > .type = QEMU_OPT_SIZE, > .help = "Readahead size", > }, > -{ /* end of list */ } > +{ > +.name = "ssl_no_cert", > +

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-08 Thread Stefan Hajnoczi
On Fri, May 03, 2013 at 07:23:31PM +0800, Fam Zheng wrote: > On Fri, 05/03 13:09, Stefan Hajnoczi wrote: > > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > > CURL library API has changed, the current curl driver is not working. > > > This patch rewrites the use of API as well as the

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-03 Thread Fam Zheng
On Fri, 05/03 13:09, Stefan Hajnoczi wrote: > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > CURL library API has changed, the current curl driver is not working. > > This patch rewrites the use of API as well as the structure of internal > > states. (It is hard to split this to mul

Re: [Qemu-devel] [PATCH] curl: fix curl read

2013-05-03 Thread Stefan Hajnoczi
On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > CURL library API has changed, the current curl driver is not working. > This patch rewrites the use of API as well as the structure of internal > states. (It is hard to split this to multiple patches as basically all > these changes need

[Qemu-devel] [PATCH] curl: fix curl read

2013-05-03 Thread Fam Zheng
CURL library API has changed, the current curl driver is not working. This patch rewrites the use of API as well as the structure of internal states. (It is hard to split this to multiple patches as basically all these changes need to work together.) BDRVCURLState holds the pointer to curl multi i