diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2013-05-08 11:38:15 +0200 |
---|---|---|
committer | Jan Luebbe <jlu@pengutronix.de> | 2013-05-09 11:36:33 +0200 |
commit | ce3fe7dad340c144b73dfef4e8ade159fc094c46 (patch) | |
tree | f2f8871878ef7f93b733f11ae728b702c20917ed | |
parent | fe3db98f132edd600e66f9ec40f9f15e17b219a9 (diff) | |
download | platform-pengutronix-vexpress-ce3fe7dad340c144b73dfef4e8ade159fc094c46.tar.gz platform-pengutronix-vexpress-ce3fe7dad340c144b73dfef4e8ade159fc094c46.tar.xz |
vexpress: qemu: start list of redirected ports
In order to add more redirected ports for user networking, prepare the
list to get more entries.
While doing so, we change the policy to have the redicected ports at
20000+x (with x the port in the emulated system).
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rwxr-xr-x | run | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -51,10 +51,12 @@ QEMU_MACHINE=vexpress-a9 # PLATFORM_IP="10.0.2.7" -# the port a 'telned' would connect to (in the emulated sysem) +# +# *_INTERNAL_PORT: the port a service would connect (in the emulated system) +# *_EXTERNAL_PORT: port QEMU opens at the host side to give access to the ${*_INTERNAL_PORT} +# TELNET_INTERNAL_PORT=23 -# port QEMU opens at the host side to give access to the ${TELNET_INTERNAL_PORT} -TELNET_EXTERNAL_PORT=4444 +TELNET_EXTERNAL_PORT=20023 if [ -z "${VDE_SOCKET}" ]; then for dir in $(ls -d /var/run/vde2/*.ctl 2>/dev/null); do |