Changeset 301986e in rtems-testing


Ignore:
Timestamp:
Nov 4, 2011, 5:04:58 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
de5954c
Parents:
fc3a35f
Message:

2011-11-04 Joel Sherrill <joel.sherrilL@…>

  • qemu-nic: Better error message when not root and want networking. Increase memory.
Location:
qemu-support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qemu-support/ChangeLog

    rfc3a35f r301986e  
     12011-11-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * qemu-nic: Better error message when not root and want networking.
     4        Increase memory.
     5
    162011-03-03      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • qemu-support/qemu-nic

    rfc3a35f r301986e  
    5858esac
    5959 
    60 ARGS="${MODEL} -m 64 \
     60ARGS="${MODEL} -m 128 \
    6161    -boot a -fda ${QEMUDIR}/qemu/pc386_fda \
    6262    -hda fat:${QEMUDIR}/qemu/hd  --no-reboot"
    63 if [ ${nic} != "none" -a $EUID -eq 0 ] ; then
    64   NICARGS="\
    65     -net nic,model=${NIC} \
    66     -net nic,macaddr=00:80:7F:22:61:77 \
    67     -net tap,script=/etc/qemu-ifup"
     63if [ ${nic} != "none" ] ; then
     64  if [ $EUID -eq 0 ] ; then
     65    NICARGS="\
     66      -net nic,model=${NIC} \
     67      -net nic,macaddr=00:80:7F:22:61:77 \
     68      -net tap,script=/etc/qemu-ifup"
     69  else
     70     echo "*** You are not root -- ignoring request for NIC ***"
     71  fi
    6872
    6973  if [ ! -r /etc/qemu-ifup ] ; then
Note: See TracChangeset for help on using the changeset viewer.