qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Can the backing file of qcow2 points to a snapshot of base file?
@ 2015-07-06  8:20 vt
  2015-07-06 12:09 ` Max Reitz
  0 siblings, 1 reply; 3+ messages in thread
From: vt @ 2015-07-06  8:20 UTC (permalink / raw)
  To: qemu-devel, kwolf, stefanha

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


Hi.

If a base qcow2 image snapshot chain like this:

base.qcow2: [A] -> [B] -> [C]

[C] is the current image where guest read/write to,usually we create a new image base on the base.qcow2 like this

qemu-img create -f qcow2 -o backing_file=/path/base.qcow2 new.qcow2

so the data of new.qcow2 is from [C] of base.qcow2, assuming the new.qcow2 has not been write to since created.

What I want is that the data of new.qcow2 is from [B] of base.qcow2, like this:

qemu-img create -f qcow2 -o backing_file=/path/base.qcow2,backing_snapshot=B  new.qcow2

Can the qemu support it now?

Thanks



vt

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

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

end of thread, other threads:[~2015-07-07  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06  8:20 [Qemu-devel] Can the backing file of qcow2 points to a snapshot of base file? vt
2015-07-06 12:09 ` Max Reitz
2015-07-07  2:00   ` [Qemu-devel] 回复: " vt

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