Skip to content
Commit 8b2bd093 authored by Pavel Butsykin's avatar Pavel Butsykin Committed by Kevin Wolf
Browse files

qcow2: fix iovec size at qcow2_co_pwritev_compressed



Use bytes as the size would be more exact than s->cluster_size.  Although
qemu_iovec_to_buf() will not allow to go beyond the qiov.

Signed-off-by: default avatarPavel Butsykin <pbutsykin@virtuozzo.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 980e6621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment