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"
12 QEMU_PARAMS=$QEMU_PARAMS" -net nic,model=e1000"
13 #QEMU_PARAMS=$QEMU_PARAMS" -net nic,model=rtl8139"
15 _NETTYPE="user,hostfwd=tcp::5555-:23"
19 while [ $# -ne 0 ]; do
22 QEMU_PARAMS=$QEMU_PARAMS" -s -S"
26 if [ "x$2" = "xdefault" ] || [ "x$2" = "x" ]; then
27 _kfile="KernelLand/Acess2.$1.bin"
29 _kfile="KernelLand/Acess2.$1-$2.bin"
31 BOOTOPT="-kernel $_kfile"
32 BOOTOPT=$BOOTOPT" -initrd KernelLand/Modules/Filesystems/FS_InitRD.kmd.$1 -append \"$3\""
37 QEMU=/home/tpg/apps/bin/qemu-system-x86_64
47 QEMU_PARAMS=$QEMU_PARAMS" -m 768"
51 QEMU_PARAMS=$QEMU_PARAMS" "$1
57 _NETTYPE=$_NETTYPE",hostfwd=tcp::10023-10.0.2.10:23"
74 QEMU_PARAMS=$QEMU_PARAMS" -net "$_NETTYPE
76 if [ "x$_NOUSB" != "xyes" ] ; then
77 QEMU_PARAMS=$QEMU_PARAMS" -usb"
78 QEMU_PARAMS=$QEMU_PARAMS" -device usb-ehci"
79 QEMU_PARAMS=$QEMU_PARAMS" -drive id=test_usb_image,file=USB_Test_Image.img,if=none"
80 QEMU_PARAMS=$QEMU_PARAMS" -device usb-storage,drive=test_usb_image"
81 QEMU_PARAMS=$QEMU_PARAMS" -usbdevice mouse"
82 QEMU_PARAMS=$QEMU_PARAMS" -usbdevice keyboard"
85 # /home/tpg/apps/bin/qemu-system-x86_64 $QEMU_PARAMS -serial stdio -serial file:QemuLog.txt
86 # qemu-system-x86_64 $QEMU_PARAMS -serial stdio | tee QemuLog.txt
87 #echo $QEMU $BOOTOPT $QEMU_PARAMS
88 if [ "x$_NOGRAPHIC" = "xyes" ] ; then
89 $_EVAL $QEMU $BOOTOPT $QEMU_PARAMS -nographic | tee QemuLog.txt
93 if [ "x$_NOTEE" = "xyes" ] ; then
94 $_EVAL $QEMU $BOOTOPT $QEMU_PARAMS -serial stdio
98 $_EVAL $QEMU $BOOTOPT $QEMU_PARAMS -serial stdio | tee QemuLog.txt