Re: [Qemu-devel] [PATCH 5/5] curl: convert to CoQueue

2018-02-03 Thread Richard Henderson
On 02/03/2018 07:39 AM, Paolo Bonzini wrote: > Now that CoQueues can use a QemuMutex for thread-safety, there is no > need for curl to roll its own coroutine queue. Coroutines can be > placed directly on the queue instead of using a list of CURLAIOCBs. > > Reviewed-by: Stefan Hajnoczi > Signed-o

[Qemu-devel] [PATCH 5/5] curl: convert to CoQueue

2018-02-03 Thread Paolo Bonzini
Now that CoQueues can use a QemuMutex for thread-safety, there is no need for curl to roll its own coroutine queue. Coroutines can be placed directly on the queue instead of using a list of CURLAIOCBs. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- block/curl.c | 20

[Qemu-devel] [PATCH 5/5] curl: convert to CoQueue

2018-02-01 Thread Paolo Bonzini
Now that CoQueues can use a QemuMutex for thread-safety, there is no need for curl to roll its own coroutine queue. Coroutines can be placed directly on the queue instead of using a list of CURLAIOCBs. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- block/curl.c | 20

Re: [Qemu-devel] [PATCH 5/5] curl: convert to CoQueue

2018-01-29 Thread Stefan Hajnoczi
On Thu, Jan 25, 2018 at 06:59:49PM +0100, Paolo Bonzini wrote: > Now that CoQueues can use a QemuMutex for thread-safety, there is no > need for curl to roll its own coroutine queue. Coroutines can be > placed directly on the queue instead of using a list of CURLAIOCBs. > > Signed-off-by: Paolo B

[Qemu-devel] [PATCH 5/5] curl: convert to CoQueue

2018-01-25 Thread Paolo Bonzini
Now that CoQueues can use a QemuMutex for thread-safety, there is no need for curl to roll its own coroutine queue. Coroutines can be placed directly on the queue instead of using a list of CURLAIOCBs. Signed-off-by: Paolo Bonzini --- block/curl.c | 20 1 file changed, 4 in