Windows 10.qcow2 [High Speed]

<driver name="qemu" type="qcow2" cache="none" io="native"/> Over time, your Windows 10.qcow2 file grows. Even if you delete files inside Windows, the image file on your Linux host stays large. To reclaim space:

Inside Windows: Run Defragment and Optimize Drives -> Optimize (This allows the guest to mark free space).

-drive file=Windows 10.qcow2,format=qcow2,if=virtio,aio=native,cache.direct=on For libvirt (virt-manager), edit the VM XML: