Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c1e104fc in mainline


Ignore:
Timestamp:
2011-12-16T21:05:38Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d8db519
Parents:
9916841
Message:

update script for e1000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/conf/net-qe.sh

    r9916841 rc1e104fc  
    11#!/bin/sh
    22
    3 # Obsolete versions of QEMU
    4 #
    5 #   QEMU 0.10.2 and later 0.10.*
    6 #    qemu $@ -no-kqemu -vga std -M isapc -net nic,model=ne2k_isa -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso
    7 #
    8 #   QEMU 0.11.* and 0.12.*
    9 #    qemu $@ -vga std -M isapc -net nic,model=ne2k_isa -net user -boot d -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -cdrom image.iso
    10 
    11 # QEMU 0.13 and later
    12 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.iso
     3case "$1" in
     4        ne2k)
     5                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.iso
     7                ;;
     8        e1k)
     9                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.iso
     11                ;;
     12        *)
     13                echo "Usage: $0 {ne2k|e1k}"
     14esac
Note: See TracChangeset for help on using the changeset viewer.