Using the qemu-img utility (available on Windows, Linux, and macOS via Homebrew):
But here is the hard truth:
qemu-img convert -O qcow2 windows10.qcow2 windows10_optimized.qcow2 This removes "holes" and reduces file size dramatically (from 80GB to ~10-15GB actual usage).