Re: [Qemu-block] [PATCH 1/7] curl: strengthen assertion in curl_clean_state

2017-05-11 Thread Jeff Cody
On Wed, May 10, 2017 at 04:31:59PM +0200, Paolo Bonzini wrote: > curl_clean_state should only be called after all AIOCBs have been > completed. This is not so obvious for the call from curl_detach_aio_context, > so assert that. > > Cc: qemu-sta...@nongnu.org > Cc: jc...@redhat.com > Signed-off-by

Re: [Qemu-block] [PATCH 1/7] curl: strengthen assertion in curl_clean_state

2017-05-10 Thread Max Reitz
On 10.05.2017 16:31, Paolo Bonzini wrote: > curl_clean_state should only be called after all AIOCBs have been > completed. This is not so obvious for the call from curl_detach_aio_context, > so assert that. > > Cc: qemu-sta...@nongnu.org > Cc: jc...@redhat.com > Signed-off-by: Paolo Bonzini > --

[Qemu-block] [PATCH 1/7] curl: strengthen assertion in curl_clean_state

2017-05-10 Thread Paolo Bonzini
curl_clean_state should only be called after all AIOCBs have been completed. This is not so obvious for the call from curl_detach_aio_context, so assert that. Cc: qemu-sta...@nongnu.org Cc: jc...@redhat.com Signed-off-by: Paolo Bonzini --- block/curl.c | 5 + 1 file changed, 5 insertions(+)