block: Make blk_co_pwrite() take a const buffer
authorAlberto Faria <afaria@redhat.com>
Tue, 5 Jul 2022 16:15:13 +0000 (17:15 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commit7d252ba5caf094f03b032cad8bbef718a86712ae
treed4742b7cb6cc4f728a07eb13e47d7445a6ec5b41
parent40fb4861b2d23c78a95a1d6f92591bc5f962c023
block: Make blk_co_pwrite() take a const buffer

It does not mutate the buffer.

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-6-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
include/sysemu/block-backend-io.h