block: Make 'bytes' param of blk_{pread,pwrite}() an int64_t
authorAlberto Faria <afaria@redhat.com>
Tue, 5 Jul 2022 16:15:12 +0000 (17:15 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commit40fb4861b2d23c78a95a1d6f92591bc5f962c023
tree82d5c9d4f4bc3a5978f0bc1dbc34ad30f6e412d4
parenta9262f551eba44d4d0f9e396d7124c059a93e204
block: Make 'bytes' param of blk_{pread,pwrite}() an int64_t

For consistency with other I/O functions, and in preparation to
implement them using generated_co_wrapper.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220705161527.1054072-5-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/block-backend.c
include/sysemu/block-backend-io.h