how does qemu-img merge the QCOW2 delta images
<p>Hello everyone，I am a newcomer.
I am learning OpenStack and kvm, but now I met a difficult problem:</p>
<p>I have a qcow2 image <strong>A</strong>,
a qcow2 delta image <strong>B</strong> whose backing file is <strong>A</strong>,
and a qcow2 image <strong>C</strong> whose backing file is <strong>B</strong>.</p>
<p>Now I want to merge <strong>B</strong> and <strong>C</strong> into a new qcow2 image <strong>D</strong> whose backing file is <strong>A</strong>.</p>
<p>I have tried to use <code>qemu-img</code> to solve it, but still didn't get positive solutions.
I hope you can help me, really appreciate.</p>