declare
options=
''
options=
"${options} -name 'windows7'"
options=
"${options} -m 2G"
options=
"${options} -accel kvm"
options=
"${options} -cpu qemu64"
options=
"${options} -boot order=d"
options=
"${options} -vga virtio"
options=
"${options} -rtc base=localtime"
options=
"${options} -smp 1,sockets=1,cores=1,threads=1,maxcpus=1"
options=
"${options} -drive file=/home/xxxxx/work/iso/win7.iso,media=cdrom"
options=
"${options} -drive file=/home/xxxxx/work/virtio/virtio-win-0.1.240.iso,media=cdrom"
options=
"${options} -drive file=/home/xxxxx/work/os/win7.qcow2,format=qcow2,if=virtio"
options=
"${options} -device usb-ehci"
options=
"${options} -device usb-tablet"
options=
"${options} -device virtio-net-pci"
/bin/taskset
-c 0-3 qemu-system-x86_64 ${options}
unset
options