Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created September 3, 2014 02:26
Show Gist options
  • Save yuuichi-fujioka/b13ddf959e9478144b60 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/b13ddf959e9478144b60 to your computer and use it in GitHub Desktop.
safe commit qcow2
cp ${backing_image} ${new_backing_image}
qemu-img rebase -b ${new_backing_image} ${img}
qemu-img commit ${img}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment