]> git.proxmox.com Git - mirror_qemu.git/commit
block: Add blk_co_truncate()
authorAlberto Faria <afaria@redhat.com>
Tue, 5 Jul 2022 16:15:24 +0000 (17:15 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commit015ed2529a1a1876f2a78de90b768361c6e79345
tree1f6f4266c00b726a23438a6caea8c137653c93d0
parentdf02da003daabe2666c13db3d539a7bce6f8b24b
block: Add blk_co_truncate()

Also convert blk_truncate() into a 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-17-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/block-backend.c
include/sysemu/block-backend-io.h
tests/unit/test-block-iothread.c