GO9PRUN 969 B

1234567891011121314151617181920212223242526272829303132333435
  1. trap : 2
  2. $HARVEY/util/ufs -root=$HARVEY &
  3. ufspid=$!
  4. sudo qemu-system-x86_64 -s -cpu Opteron_G1 -smp 1 -m 2048 \
  5. -enable-kvm \
  6. -serial stdio \
  7. --machine pc \
  8. -net nic,model=rtl8139 \
  9. -net user,hostfwd=tcp::5555-:1522 \
  10. -kernel 9k8cpu.32bit $*
  11. kill $ufspid
  12. wait
  13. # -nographic \
  14. #-S -gdb tcp::1234 \
  15. # -nographic \
  16. #-kernel mnt/hdd/kernel $*
  17. # if you need the dump.
  18. #-net dump,file=/tmp/vm0.pcap \
  19. #sudo qemu-system-x86_64 -s -cpu phenom -smp 8 -m 4096 -nographic \
  20. #-net nic,model=rtl8139 mnt/hdd268mb.img \
  21. #-net user,hostfwd=tcp::5555-:23 \
  22. #-net dump,file=/tmp/vm0.pcap \
  23. #-kernel mnt/hdd/kernel $*
  24. #
  25. #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 $*
  26. #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 $*
  27. #