]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/sysemu/block-backend-io.h
block, block-backend: write some hot coroutine wrappers by hand
[mirror_qemu.git] / include / sysemu / block-backend-io.h
index c672b772472016fbbd2bf55bed8819b823ebe348..bb25493ba1a9aaaf2740d8e321fbf096e4287b02 100644 (file)
@@ -72,11 +72,10 @@ int64_t co_wrapper_mixed blk_getlength(BlockBackend *blk);
 
 void coroutine_fn blk_co_get_geometry(BlockBackend *blk,
                                       uint64_t *nb_sectors_ptr);
-void co_wrapper_mixed blk_get_geometry(BlockBackend *blk,
-                                       uint64_t *nb_sectors_ptr);
+void blk_get_geometry(BlockBackend *blk, uint64_t *nb_sectors_ptr);
 
 int64_t coroutine_fn blk_co_nb_sectors(BlockBackend *blk);
-int64_t co_wrapper_mixed blk_nb_sectors(BlockBackend *blk);
+int64_t blk_nb_sectors(BlockBackend *blk);
 
 void *blk_try_blockalign(BlockBackend *blk, size_t size);
 void *blk_blockalign(BlockBackend *blk, size_t size);