Re: [Qemu-devel] [PATCH] qemu-img: Allow unmap backing image for zeroed clusters

2016-09-27 Thread Fam Zheng
On Tue, 09/27 10:41, Kevin Wolf wrote: > Am 27.09.2016 um 04:20 hat Fam Zheng geschrieben: > > We already specified BDRV_O_UNMAP when opening images in 'qemu-img > > commit', but didn't turn on the "unmap" in the active commit job. This > > patch fixes that so that zeroed clusters in top image can

Re: [Qemu-devel] [PATCH] qemu-img: Allow unmap backing image for zeroed clusters

2016-09-27 Thread Kevin Wolf
Am 27.09.2016 um 04:20 hat Fam Zheng geschrieben: > We already specified BDRV_O_UNMAP when opening images in 'qemu-img > commit', but didn't turn on the "unmap" in the active commit job. This > patch fixes that so that zeroed clusters in top image can be discarded > which is desired in the virt-spa

[Qemu-devel] [PATCH] qemu-img: Allow unmap backing image for zeroed clusters

2016-09-26 Thread Fam Zheng
We already specified BDRV_O_UNMAP when opening images in 'qemu-img commit', but didn't turn on the "unmap" in the active commit job. This patch fixes that so that zeroed clusters in top image can be discarded which is desired in the virt-sparsify use case, where a temporary overlay is created and f