Changeset 25eec4e in mainline for contrib/conf/net-qe.sh
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/conf/net-qe.sh
ra1e2df13 r25eec4e 1 1 #!/bin/sh 2 3 if [ -z "${QEMU_BINARY}" ] ; then 4 QEMU_BINARY="`which --tty-only qemu 2> /dev/null`" 5 fi 6 7 if [ -z "${QEMU_BINARY}" ] ; then 8 QEMU_BINARY="`which --tty-only qemu-system-x86_64 2> /dev/null`" 9 fi 10 11 if [ -z "${QEMU_BINARY}" ] ; then 12 QEMU_BINARY="`which --tty-only qemu-system-i386 2> /dev/null`" 13 fi 14 15 if [ -z "${QEMU_BINARY}" ] ; then 16 echo "QEMU binary not found" 17 fi 2 18 3 19 case "$1" in 4 20 ne2k) 5 21 shift 6 qemu $@-device ne2k_isa,irq=5,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso22 "${QEMU_BINARY}" "$@" -device ne2k_isa,irq=5,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso 7 23 ;; 8 24 e1k) 9 25 shift 10 qemu $@-device e1000,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso26 "${QEMU_BINARY}" "$@" -device e1000,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso 11 27 ;; 12 28 rtl8139) 13 29 shift 14 qemu $@-device rtl8139,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso30 "${QEMU_BINARY}" "$@" -device rtl8139,vlan=0 -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso 15 31 ;; 16 32 *)
Note:
See TracChangeset
for help on using the changeset viewer.