The result is a working installation of Windows XP, including sound and network. The graphics is more than 1024x768@24bits. No 3D acceleration. The performance is good enough for desktop use and simple games, may not be good enough for gamers. Doom Shareware for DOS works at default settings.
Host used:
qemu-img create -f qcow2 winXP.img 3G qemu-img create -f qcow2 data.qcow2 1GCommand to run qemu:
qemu-system-i386 -nodefaults -hda winXP.img -drive file=../WinXPproSP2.iso,if=ide,index=1,media=cdrom -boot d -cpu Broadwell -m 1G -vga std -net nic,model=pcnet -net user,smb=/tmp -rtc base=localtime -accel kvm -no-hpet -device AC97 -serial none -parallel noneif you got KVM or
qemu-system-i386 -nodefaults -hda winXP.img -drive file=../WinXPproSP2.iso,if=ide,index=1,media=cdrom -boot d -cpu coreduo -m 1G -vga std -net nic,model=pcnet -net user,smb=/tmp -rtc base=localtime -accel tcg -no-hpet -device AC97 -serial none -parallel nonefor systems without KVM.
Command to mount disk in Linux, to transfer files and data in/out:
sudo modprobe nbd max_part=8 sudo qemu-nbd --connect=/dev/nbd0 ./data.qcow2 sudo fdisk /dev/nbd0 -l sudo mount /dev/nbd0p1 /mnt/foo -- do stuff sudo umount /mnt/foo sudo qemu-nbd --disconnect /dev/nbd0 sudo rmmod nbdOthers use a FTP-client in Windows XP and a FTP-server somewhere.