Download the (specifically the older versions like 0.1.185 that still support XP). Mount it as a second CD-ROM.
You will need a Windows XP ISO file. Start the installation with the following command to ensure compatibility: windows xpqcow2
If you must have internet, use the host machine's firewall to restrict the XP VM to specific IP addresses only. Download the (specifically the older versions like 0
Running Windows XP today comes with significant risks. Because Microsoft ended support in 2014, your QCOW2 image will be vulnerable to modern exploits. windows xpqcow2