#!/bin/sh
MEMORY=1G
SOUND=ac97
VGA=std
SMP=1
SOCKETS=1
THREADS=1
CORES=1
HDA=reactos
qemu-system-i386 -m $MEMORY -net user,vlan=1 -net nic,model=rtl8139,vlan=1 -soundhw $SOUND -vga $VGA -enable-kvm -smp $SMP,sockets=$SOCKETS,threads=$THREADS,cores=$CORES -drive file=$HDA,if=ide,discard=unmap,detect-zeroes=unmap,format=raw -daemonize -no-quit $*
