Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-17 Thread Kevin Wolf
Am 16.05.2016 um 08:33 hat zhangzhiming geschrieben: > hi, i read some source code by your tips, and i have some conclusions: > > 1. Old version of QCOW2 image does not store the total size of snapshot, so, > we > can’t > add the function to the old version of QEMU, and the function of QCOW

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-15 Thread zhangzhiming
hi, i read some source code by your tips, and i have some conclusions: 1. Old version of QCOW2 image does not store the total size of snapshot, so, we can’t add the function to the old version of QEMU, and the function of QCOW2 resize with snapshots will be limited in V3 image or it w

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-06 Thread zhangzhiming
sorry, i forgot to cc qemu-bl...@nongnu.org . zhangzhiming zhangzhimin...@meituan.com > On May 7, 2016, at 10:47 AM, zhangzhiming wrote: > > thank you for your reply, and i am glad to join to the development of qemu. > i will try my best to finish this new functi

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-06 Thread zhangzhiming
thank you for your reply, and i am so sorry, there are some problems with my email @163.com , it returned me some error and i thought that my email send failed. so, really sorry. this is my second email. i will use this one. zhangzhiming zhangzhimin...@meituan.com > On May 6,

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-06 Thread zhangzhiming
thank you for your reply, and i am glad to join to the development of qemu. i will try my best to finish this new function. have a good day! zhangzhiming zhangzhimin...@meituan.com > On May 3, 2016, at 4:44 PM, Kevin Wolf wrote: > > [ Cc: qemu-block ] > > Am 29.04.2016 um 10:59 hat zhangzm

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-06 Thread Kevin Wolf
Am 06.05.2016 um 07:57 hat zhangzhiming geschrieben: > hi, i want to implement the function of qcow2 resize which has snapshots. > each snapshot of qcow2 will have a separate total size, and when apply a > snapshot, > the image can be shrunk, and the total size of image will change after apply >

[Qemu-devel] qcow2 resize with snapshots

2016-05-05 Thread zhangzhiming
hi, i want to implement the function of qcow2 resize which has snapshots. each snapshot of qcow2 will have a separate total size, and when apply a snapshot, the image can be shrunk, and the total size of image will change after apply to a snapshot with different size. now, there is a disk_size v

Re: [Qemu-devel] qcow2 resize with snapshots

2016-05-03 Thread Kevin Wolf
[ Cc: qemu-block ] Am 29.04.2016 um 10:59 hat zhangzm geschrieben: > hi, i want to implement the function of qcow2 resize which has > snapshots. > > each snapshot of qcow2 will have a separate total size, and when apply > a snapshot, the image can be shrunk, and the total size of image will > chan

[Qemu-devel] qcow2 resize with snapshots

2016-04-29 Thread zhangzm
hi, i want to implement the function of qcow2 resize which has snapshots. each snapshot of qcow2 will have a separate total size, and when apply a snapshot, the image can be shrunk, and the total size of image will change after apply to a snapshot with different size. now, there is a disk_si

[Qemu-devel] qcow2 resize with snapshots

2016-04-29 Thread zhangzm
hi, i want to implement the function of qcow2 resize which has snapshots. each snapshot of qcow2 will have a separate total size, and when apply a snapshot, the image can be shrunk, and the total size of image will change after apply to a snapshot with different size. now, there is a disk_si