Description of problem: virt-sparsify man failes to mention what happens to snapshots within a qcow2 image Version-Release number of selected component (if applicable): libguestfs-tools-c-1.26.1-2.fc20.x86_64 How reproducible: Sparsify a qcow2 image with snapshots, then try to restore a snapshot. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Are you using virt-sparsify in the default copy mode, or using the new --inplace option? But yes I'm not surprised that internal snapshots aren't copied across. We can mention this in the manual.
default copy mode without --inplace
I've added a note in the manual page upstream: https://github.com/libguestfs/libguestfs/commit/c67e16734ce41b1ec8ec146531bcec20573fec7f