summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2013-05-08 11:38:15 +0200
committerJan Luebbe <jlu@pengutronix.de>2013-05-09 11:36:33 +0200
commitce3fe7dad340c144b73dfef4e8ade159fc094c46 (patch)
treef2f8871878ef7f93b733f11ae728b702c20917ed
parentfe3db98f132edd600e66f9ec40f9f15e17b219a9 (diff)
downloadplatform-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-xrun8
1 files changed, 5 insertions, 3 deletions
diff --git a/run b/run
index 246f49e..a1630de 100755
--- a/run
+++ b/run
@@ -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