]> git.proxmox.com Git - mirror_qemu.git/commit
curl: do not use aio_context_acquire/release
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2017 18:07:23 +0000 (19:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 27 Feb 2017 13:33:24 +0000 (13:33 +0000)
commitba3186c4e473963ba83b5792f3d02d4ac0a76ba5
treeea4439e9727a865f1581ce2667f4990c33b36615
parentd992f2f1368ceb92e6bfd8efece174110f4236ff
curl: do not use aio_context_acquire/release

Now that all bottom halves and callbacks take care of taking the
AioContext lock, we can migrate some users away from it and to a
specific QemuMutex or CoMutex.

Protect BDRVCURLState access with a QemuMutex.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20170222180725.28611-2-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/curl.c