2 #qemu-system-x86_64 -fda DiskImage.img -boot a -serial stdio -net user,hostname=prelude,dns=10.0.2.1 -net nic,model=ne2k_pci -vga std
4 QEMU=qemu-system-x86_64
6 BOOTOPT="-fda DiskImage.img -boot a"
9 QEMU_PARAMS=$QEMU_PARAMS" -hda AcessHDD.img"
10 QEMU_PARAMS=$QEMU_PARAMS" -vga std"
11 QEMU_PARAMS=$QEMU_PARAMS" -smp 2"
13 _NETTYPE="user,hostfwd=tcp::5555-:23"
18 while [ $# -ne 0 ]; do
21 QEMU_PARAMS=$QEMU_PARAMS" -s -S"
25 if [ "x$2" = "xdefault" ] || [ "x$2" = "x" ]; then
26 _kfile="KernelLand/Acess2.$1.bin"
28 _kfile="KernelLand/Acess2.$1-$2.bin"
30 BOOTOPT="-kernel $_kfile"
31 BOOTOPT=$BOOTOPT" -initrd KernelLand/Modules/Filesystems/FS_InitRD.kmd.$1 -append \"$3\""
36 QEMU=/home/tpg/apps/bin/qemu-system-x86_64
46 QEMU_PARAMS=$QEMU_PARAMS" -m 768"
50 QEMU_PARAMS=$QEMU_PARAMS" "$1
56 _NETTYPE=$_NETTYPE",hostfwd=tcp::10023-10.0.2.10:23"
78 QEMU_PARAMS=$QEMU_PARAMS" -net nic,model="$_NETMODEL
79 QEMU_PARAMS=$QEMU_PARAMS" -net "$_NETTYPE
81 if [ "x$_NOUSB" != "xyes" ] ; then
82 QEMU_PARAMS=$QEMU_PARAMS" -usb"
83 QEMU_PARAMS=$QEMU_PARAMS" -device usb-ehci"
84 QEMU_PARAMS=$QEMU_PARAMS" -drive id=test_usb_image,file=USB_Test_Image.img,if=none"
85 QEMU_PARAMS=$QEMU_PARAMS" -device usb-storage,drive=test_usb_image"
86 QEMU_PARAMS=$QEMU_PARAMS" -usbdevice mouse"
87 # QEMU_PARAMS=$QEMU_PARAMS" -usbdevice keyboard"
90 if [ "x$_NOTEE" = "xyes" ] ; then
93 _TEECMD=" | tee QemuLog.txt"
96 # /home/tpg/apps/bin/qemu-system-x86_64 $QEMU_PARAMS -serial stdio -serial file:QemuLog.txt
97 # qemu-system-x86_64 $QEMU_PARAMS -serial stdio | tee QemuLog.txt
98 #echo $QEMU $BOOTOPT $QEMU_PARAMS
99 if [ "x$_NOGRAPHIC" = "xyes" ] ; then
100 $_EVAL $QEMU $BOOTOPT $QEMU_PARAMS -nographic $_TEECMD
104 $_EVAL $QEMU $BOOTOPT $QEMU_PARAMS -serial stdio $_TEECMD