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

2014-04-17 Thread lijun
Hi list, Ping. Could someone help to review this patch, thank you very much. The following is the patch url: http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg00805.html On 04/05/2014 12:52 AM, Jun Li wrote: As the realization of raw shrinking, so when do qcow2 shrinking, do not ch

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

2014-04-04 Thread Jun Li
As the realization of raw shrinking, so when do qcow2 shrinking, do not check l1 entries. When resize to size1(size1 < "disk size"), the custemer knows this will destory the data. So no need to check the l1 entries which is used or not. BTW, there will possible be "disk size" > "virtual size". As t

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

2014-04-04 Thread Jun Li
As the realization of raw shrinking, so when do qcow2 shrinking, do not check l1 entries. When resize to size1(size1 < "disk size"), the custemer knows this will destory the data. So no need to check the l1 entries which is used or not. BTW, there will possible be "disk size" > "virtual size". As t