diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-15 12:00:56 +0200 |
|---|---|---|
| committer | Jeff Cody <jcody@redhat.com> | 2017-05-16 10:34:45 -0400 |
| commit | 3ce6a729b5d78b13283ddc6c529811f67519a62d (patch) | |
| tree | 2471b85f5d8e5e5ce67ca049d24ccd0f8564a39e /hw/xen/xen_backend.c | |
| parent | 456af346297ebef86aa097b3609534d34f3d2f75 (diff) | |
| download | focaccia-qemu-3ce6a729b5d78b13283ddc6c529811f67519a62d.tar.gz focaccia-qemu-3ce6a729b5d78b13283ddc6c529811f67519a62d.zip | |
curl: split curl_find_state/curl_init_state
If curl_easy_init fails, a CURLState is left with s->in_use = 1. Split curl_init_state in two, so that we can distinguish the two failures and call curl_clean_state if needed. While at it, simplify curl_find_state, removing a dummy loop. The aio_poll loop is moved to the sole caller that needs it. Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 20170515100059.15795-5-pbonzini@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'hw/xen/xen_backend.c')
0 files changed, 0 insertions, 0 deletions