block: Add blk_[co_]preadv_part()
authorAlberto Faria <afaria@redhat.com>
Tue, 5 Jul 2022 16:15:16 +0000 (17:15 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commitd1d3fc3d1d3bf4749400df18462f8fef4c4ca1fb
treec1771dbf4fad61b663440517822870184af0bf1e
parent7c8cd723c7e3c108a62938bd7741c2db95fcfb8a
block: Add blk_[co_]preadv_part()

Implement blk_preadv_part() 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-9-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/block-backend.c
block/coroutines.h
include/sysemu/block-backend-io.h
tests/unit/test-block-iothread.c