Windows 10qcow2 -
qemu-img create -f qcow2 -o preallocation=metadata windows10.qcow2 60G You will boot from the ISO and install onto the qcow2 disk.
Using virt-install (command line):
qemu-img convert -f vmdk -O qcow2 windows10.vmdk windows10.qcow2 windows 10qcow2
qemu-img convert -f vhdx -O qcow2 windows10.vhdx windows10.qcow2
qemu-img create -f qcow2 -b windows10-base.qcow2 -F qcow2 win10-overlay1.qcow2 Run the VM using win10-overlay1.qcow2 . Any writes go to the overlay; the base remains pristine. To reset, simply delete the overlay and create a new one. Qcow2 files can become corrupt if the host crashes. Check integrity: qemu-img create -f qcow2 -o preallocation=metadata windows10
qemu-img convert -f raw -O qcow2 windows10.raw windows10.qcow2
qemu-img check -r all windows10.qcow2 If your Windows 10 qcow2 runs out of space: To reset, simply delete the overlay and create a new one
qemu-img resize windows10.qcow2 +20G Then, inside Windows 10, open Disk Management (diskmgmt.msc) and extend the C: partition.