qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] block: clean up coroutine versions of bdrv_{is_allocated, block_status}*
@ 2023-09-04 10:03 Paolo Bonzini
  2023-09-04 10:03 ` [PATCH v3 1/4] block: rename the bdrv_co_block_status static function Paolo Bonzini
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Paolo Bonzini @ 2023-09-04 10:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: eblake, kwolf, qemu-block

Provide coroutine versions of bdrv_is_allocated* and bdrv_block_status*,
since the underlying BlockDriver API is coroutine-based, and use
automatically-generated wrappers for the "mixed" versions.

v2->v3: cleaned up formatting

Paolo Bonzini (4):
  block: rename the bdrv_co_block_status static function
  block: complete public block status API
  block: switch to co_wrapper for bdrv_is_allocated_*
  block: convert more bdrv_is_allocated* and bdrv_block_status* calls to
    coroutine versions

 block/copy-before-write.c |  2 +-
 block/copy-on-read.c      |  8 ++--
 block/io.c                | 98 +++++++++++----------------------------
 block/mirror.c            | 10 ++--
 block/qcow2.c             |  5 +-
 block/replication.c       |  8 ++--
 block/stream.c            |  8 ++--
 block/vvfat.c             | 18 +++----
 include/block/block-io.h  | 29 +++++++-----
 9 files changed, 74 insertions(+), 112 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-06 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-04 10:03 [PATCH v3 0/4] block: clean up coroutine versions of bdrv_{is_allocated, block_status}* Paolo Bonzini
2023-09-04 10:03 ` [PATCH v3 1/4] block: rename the bdrv_co_block_status static function Paolo Bonzini
2023-09-04 10:03 ` [PATCH v3 2/4] block: complete public block status API Paolo Bonzini
2023-09-04 10:03 ` [PATCH v3 3/4] block: switch to co_wrapper for bdrv_is_allocated_* Paolo Bonzini
2023-09-04 10:03 ` [PATCH v3 4/4] block: convert more bdrv_is_allocated* and bdrv_block_status* calls to coroutine versions Paolo Bonzini
2023-09-26 15:31 ` [PATCH v3 0/4] block: clean up coroutine versions of bdrv_{is_allocated, block_status}* Paolo Bonzini
2023-10-06 15:58 ` [PATCH v3 0/4] block: clean up coroutine versions of bdrv_{is_allocated,block_status}* Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).