#!/bin/bash #qemu-img create -f qcow2 winxp.qcow2 20G qemu-system-x86_64 \ -m 2048 \ -enable-kvm \ -net user \ -netdev user,id=net0 \ -device virtio-net-pci,netdev=net0 \ -cpu host \ -readconfig etc/qemu/ich9-ehci-uhci.cfg \ -device usb-tablet,bus=ehci.0,port=2 \ -drive file=winxp_sp2_prof_32bit_1.5GiB.qcow2,if=virtio,cache=unsafe \ -vga cirrus \ -drive file=win_xp.iso,media=cdrom,readonly=on \ -drive file=virtio-win-0.1.185.iso,media=cdrom,readonly=on \ -drive file=virtio-win-0.1.185_x86.vfd,index=0,if=floppy,format=raw \ -daemonize \ -boot d