qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Can the backing file of qcow2 points to a snapshot of base


From: vt
Subject: [Qemu-devel] Can the backing file of qcow2 points to a snapshot of base file?
Date: Mon, 6 Jul 2015 16:20:58 +0800

 
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]