qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qcow2: snapshot and resize possible?
@ 2011-09-13  9:41 Frediano Ziglio
  2011-09-13  9:51 ` Kevin Wolf
  0 siblings, 1 reply; 2+ messages in thread
From: Frediano Ziglio @ 2011-09-13  9:41 UTC (permalink / raw)
  To: Kevin Wolf; +Cc: qemu-devel

Looking at block TODOs I saw qcow2 resize with snapshot. However I
would ask if this is technical possible with current format. The
reason is that snapshots have no size (only l1_size, QCowHeader have a
size field) however I think that size if part of machine state and is
not possible to compute exact size from l1_size.
Should this resize be posted to qcow3 update?

Frediano

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

* Re: [Qemu-devel] qcow2: snapshot and resize possible?
  2011-09-13  9:41 [Qemu-devel] qcow2: snapshot and resize possible? Frediano Ziglio
@ 2011-09-13  9:51 ` Kevin Wolf
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2011-09-13  9:51 UTC (permalink / raw)
  To: Frediano Ziglio; +Cc: qemu-devel

Am 13.09.2011 11:41, schrieb Frediano Ziglio:
> Looking at block TODOs I saw qcow2 resize with snapshot. However I
> would ask if this is technical possible with current format. The
> reason is that snapshots have no size (only l1_size, QCowHeader have a
> size field) however I think that size if part of machine state and is
> not possible to compute exact size from l1_size.
> Should this resize be posted to qcow3 update?

Yes, I think it would require a format change. Maybe we should add a
field for the image size to the qcow2 v3 proposal.

Kevin

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

end of thread, other threads:[~2011-09-13  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13  9:41 [Qemu-devel] qcow2: snapshot and resize possible? Frediano Ziglio
2011-09-13  9:51 ` Kevin Wolf

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).