Windows Xp Qcow2

qemu-system-x86_64 -m 1536 -hda ~/vms/winxp.qcow2 -spice port=5930,disable-ticketing -vga qxl

qemu-system-x86_64 \ -m 1536 -smp 2 \ -drive file=~/vms/winxp.qcow2,if=virtio,format=qcow2 \ -cdrom ~/isos/Windows_XP.iso \ -drive file=~/isos/virtio-win.iso,if=ide,media=cdrom \ -boot d \ -net nic,model=virtio -net user \ -vga std windows xp qcow2

Use this basic QEMU command to boot from the ISO and install Windows to your new QCOW2 file: qemu-system-x86_64 -m 1536 -hda ~/vms/winxp