#!/bin/bash # # network under XP: 10.0.2.2, own dhcp ip: 10.0.2.15 # exec qemu-system-x86_64 -serial /dev/ttyS0 -m 3G,slots=4,maxmem=4G -smp cpus=2 -soundhw sb16 -enable-kvm -name "WindowsXP" -global ide-drive.physical_block_size=4096 -drive format=raw,if=ide,media=cdrom,file=/dev/sr1 -drive format=raw,if=ide,media=disk,file=WindowsXP.hdd -boot d -k de -vga cirrus -netdev user,id=xpnet -device rtl8139,netdev=xpnet