Got it π You have everything needed to install Windows XP SP3 with virtio drivers.
Iβll give you two correct commands using exactly those files, then short install steps.
β OPTION 1 (RECOMMENDED): Stable & easy (IDE + e1000)#
Uses no virtio, simplest and most reliable.
qemu-system-i386 \
-machine pc,accel=kvm \
-cpu pentium3 \
-m 1024 \
-drive file=winxp.qcow2,if=ide \
-cdrom en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso \
-boot d \
-vga std \
-usb -device usb-tablet \
-nic user,model=e1000 \
-monitor stdioInstall steps#
- Boot β XP installer starts
- Enter key from
key.txt - Finish install
- Done β (network works automatically)
β OPTION 2: q35 + virtio (advanced, your files match this)#
Uses:
xp_q35_x86.imgβ floppy drivers (setup)virtio-win-0.1.285.isoβ full drivers (after install)
qemu-system-i386 \
-machine q35,accel=kvm \
-cpu qemu32 \
-m 2048 \
-global q35-pcihost.x-pci-hole64-fix=false \
-drive file=winxp.qcow2,if=virtio \
-drive if=floppy,file=xp_q35_x86.img,format=raw \
-cdrom en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso \
-device VGA,vgamem_mb=64 \
-usb -device usb-tablet \
-nic user,model=virtio \
-monitor stdioInstall steps (IMPORTANT)#
XP setup starts
When it asks for storage β load driver from floppy
Select VirtIO Block Driver (XP 32-bit)
Continue installation
After desktop loads:
qemu-system-i386 ... -cdrom virtio-win-0.1.285.isoInstall Network + Balloon drivers
π Notes#
key.txtβ only for manual typing- RAM must stay β€ 2GB
- XP + q35 can freeze β Option 1 is safer
-cpu hostβ donβt use it with i386
qemu-system-i386 -M q35,usb=on,acpi=on,hpet=off -global q35-pcihost.x-pci-hole64-fix=false -m 4G -cpu host -accel kvm -drive if=virtio,file=winxp.qcow2 -drive if=floppy,file=xp_q35_x86.img,format=raw -device usb-tablet -device VGA,vgamem_mb=64 -nic user,model=virtio -monitor stdio -cdrom en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso -boot d