block: Implement blk_{pread,pwrite}() using generated_co_wrapper
commitfacbaad946db92900654a3df8678b1dc7d581524
authorAlberto Faria <afaria@redhat.com>
Tue, 5 Jul 2022 16:15:14 +0000 (5 17:15 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12 12:14 +0200)
treeedb86b0987fa7c951b80b51bd21b35a60383a397
parent7d252ba5caf094f03b032cad8bbef718a86712ae
block: Implement blk_{pread,pwrite}() using generated_co_wrapper

We need to add include/sysemu/block-backend-io.h to the inputs of the
block-gen.c target defined in block/meson.build.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220705161527.1054072-7-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/block-backend.c
block/coroutines.h
block/meson.build
include/sysemu/block-backend-io.h