curl: convert CURLAIOCB to byte values
commit2125e5ea6ea8f2c6dd9b06b023200da28fa0305b
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 May 2017 10:00:57 +0000 (15 12:00 +0200)
committerJeff Cody <jcody@redhat.com>
Tue, 16 May 2017 14:34:50 +0000 (16 10:34 -0400)
tree5fd62cd3f3fdc4a7d30e4b80eb49e7e350d0572c
parent3ce6a729b5d78b13283ddc6c529811f67519a62d
curl: convert CURLAIOCB to byte values

This is in preparation for the conversion from bdrv_aio_readv to
bdrv_co_preadv, and it also requires changing some of the size_t values
to uint64_t.  This was broken before for disks > 2TB, but now it would
break at 4GB.

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-6-pbonzini@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/curl.c