Guest User

Untitled

a guest
Nov 25th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. I have a qcow2 image A,
  2.  
  3. a qcow2 delta image B whose backing file is A,
  4.  
  5. and a qcow2 image C whose backing file is B.
  6.  
  7. Now I want to merge the B and C into a qcow2 image D whose backing file is A.
  8.  
  9. I have tried to use qemu-img to solve it, but still didn't get positive solutions.
  10.  
  11. virsh blockpull --domain vmname --path /var/lib/libvirt/images/c.qcow2
  12.  
  13. cp C D
  14. qemu-img rebase -b A D
Add Comment
Please, Sign In to add comment