qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  qcow2 resize with snapshots
@ 2016-05-06  5:57 zhangzhiming
  2016-05-06 11:20 ` Kevin Wolf
  0 siblings, 1 reply; 10+ messages in thread
From: zhangzhiming @ 2016-05-06  5:57 UTC (permalink / raw)
  To: qemu-devel

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 value in struct QcowSnapshot, i only need to change the size of current active 
image layer when apply a snapshot with different size, and the io request will be limit in the range of active layer.

and i want my code merged into the master of qemu.
please give me some comments. thanks.


zhangzhiming
zhangzhiming02@meituan.com

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Qemu-devel]  qcow2 resize with snapshots
@ 2016-04-29  8:59 zhangzm
  2016-05-03  8:44 ` Kevin Wolf
  0 siblings, 1 reply; 10+ messages in thread
From: zhangzm @ 2016-04-29  8:59 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

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 value in struct QcowSnapshot, i only need to change the size of current active 

image layer when apply a snapshot with different size, and the io request will be limit in the range of active layer.




and i want my code merged into the master of qemu.

please give me some comments. thanks.



zhangzhiming

zhangzhiming865@163.com





 

[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Qemu-devel]  qcow2 resize with snapshots
@ 2016-04-29  7:55 zhangzm
  0 siblings, 0 replies; 10+ messages in thread
From: zhangzm @ 2016-04-29  7:55 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

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 value in struct QcowSnapshot, i only need to change the size of current active 

image layer when apply a snapshot with different size, and the io request will be limit in the range of active layer.




and i want my code merged into the master of qemu.

please give me some comments. thanks.



zhangzhiming

zhangzhiming865@163.com

[-- Attachment #2: Type: text/html, Size: 1364 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-05-17  8:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06  5:57 [Qemu-devel] qcow2 resize with snapshots zhangzhiming
2016-05-06 11:20 ` Kevin Wolf
2016-05-07  2:52   ` zhangzhiming
  -- strict thread matches above, loose matches on Subject: below --
2016-04-29  8:59 zhangzm
2016-05-03  8:44 ` Kevin Wolf
2016-05-07  2:47   ` zhangzhiming
2016-05-07  3:13     ` zhangzhiming
2016-05-16  6:33       ` zhangzhiming
2016-05-17  8:18         ` Kevin Wolf
2016-04-29  7:55 zhangzm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).