]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-io: do not reinvent the blk_pwrite_zeroes wheel
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Dec 2022 13:02:23 +0000 (14:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 24 Jan 2023 17:26:41 +0000 (18:26 +0100)
commit264dcbb2b1e5b66d7a5b08662b200c2b315dce0f
tree183c83066a491521a0eb611f40e998a656651398
parent0f3de970febd2c9b29dccecb63ca928c6802a101
qemu-io: do not reinvent the blk_pwrite_zeroes wheel

qemu-io's do_co_pwrite_zeroes is reinventing the coroutine wrapper
blk_pwrite_zeroes.  Just use the real thing directly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221215130225.476477-1-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io-cmds.c