qemu-img rebase and qemu-img commit can both shorten a QCOW2 backing chain, but they write in opposite directions. A safe rebase changes the top image so it can inherit from a different backing file without changing the guest-visible bytes. A commit changes a backing image by copying ...