Re: [Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-23 Thread Stefan Hajnoczi
On Tue, Apr 01, 2014 at 02:06:10PM +0800, Jun Li wrote: Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed