Browse Source

Add runners for serial and KVM.

Signed-off-by: Ron Minnich <rminnich@gmail.com>
Ron Minnich 9 years ago
parent
commit
62013098de
2 changed files with 50 additions and 0 deletions
  1. 25 0
      util/SERIALKVM
  2. 25 0
      util/SERIALQRUN

+ 25 - 0
util/SERIALKVM

@@ -0,0 +1,25 @@
+sudo qemu-system-x86_64 -s -cpu kvm64,+vmx -smp 8 -m 2048  \
+-serial stdio \
+--machine pc,accel=kvm \
+-net nic,model=rtl8139 \
+-net user,hostfwd=tcp::5555-:23 \
+ -nographic \
+-kernel 9k.32bit $*
+
+#-S -gdb tcp::1234 \
+# -nographic \
+#-kernel mnt/hdd/kernel $*
+
+# if you need the dump.
+#-net dump,file=/tmp/vm0.pcap \
+
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 4096 -nographic  \
+#-net nic,model=rtl8139 mnt/hdd268mb.img \
+#-net user,hostfwd=tcp::5555-:23 \
+#-net dump,file=/tmp/vm0.pcap \
+#-kernel mnt/hdd/kernel $*
+#
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 6024 -nographic  -net nic,model=rtl8139 mnt/hdd268mb.img -netdev user,id=mynet0 -kernel mnt/hdd/kernel $*
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 6024 -nographic  -net nic,model=rtl8139 mnt/hdd268mb.img -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9 -kernel mnt/hdd/kernel $*
+
+# 

+ 25 - 0
util/SERIALQRUN

@@ -0,0 +1,25 @@
+sudo qemu-system-x86_64 -s -cpu Opteron_G1 -smp 8 -m 2048  \
+-serial stdio \
+--machine pc \
+-net nic,model=rtl8139 \
+-net user,hostfwd=tcp::5555-:23 \
+ -nographic \
+-kernel 9k.32bit $*
+
+#-S -gdb tcp::1234 \
+# -nographic \
+#-kernel mnt/hdd/kernel $*
+
+# if you need the dump.
+#-net dump,file=/tmp/vm0.pcap \
+
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 4096 -nographic  \
+#-net nic,model=rtl8139 mnt/hdd268mb.img \
+#-net user,hostfwd=tcp::5555-:23 \
+#-net dump,file=/tmp/vm0.pcap \
+#-kernel mnt/hdd/kernel $*
+#
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 6024 -nographic  -net nic,model=rtl8139 mnt/hdd268mb.img -netdev user,id=mynet0 -kernel mnt/hdd/kernel $*
+#sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 6024 -nographic  -net nic,model=rtl8139 mnt/hdd268mb.img -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9 -kernel mnt/hdd/kernel $*
+
+#