On Thu, 24 Nov 2011, Lan Tianyu wrote:
When meeting request to write the cluster without copied flag, allocate a new cluster and write original data with modification to the new cluster. This also adds support for the writing operation of the qcow2 compressed image. After testing, image file can pass through "qemu-img check". The performance is needed to be improved. Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>
I'm seeing this: CC disk/qcow.o disk/qcow.c: In function ʽqcow_write_clusterʼ: disk/qcow.c:941:7: error: variable ʽclust_new_idxʼ set but not used [-Werror=unused-but-set-variable]