]> git.proxmox.com Git - mirror_qemu.git/commit
curl: convert to CoQueue
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 3 Feb 2018 15:39:35 +0000 (10:39 -0500)
committerFam Zheng <famz@redhat.com>
Thu, 8 Feb 2018 01:22:03 +0000 (09:22 +0800)
commit709f213214609b693857ec988b7411126d615871
tree98b8fd87b1ebd2c4b36f27a55c296da7f4c7e3d5
parent5261dd7b0106a88c9b323607136b1dfa1d7db689
curl: convert to CoQueue

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 <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20180203153935.8056-6-pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
block/curl.c