Runner: Forward host TCP port 8823 to guest port 23 in QEMU

This makes it easier to test TelnetServer when running in QEMU.
This commit is contained in:
Andreas Kling 2019-09-09 09:19:43 +02:00
parent c8be606acf
commit b07cf6843e
Notes: sideshowbarker 2024-07-19 12:10:41 +09:00

View file

@ -45,7 +45,7 @@ elif [ "$1" = "qgrub" ]; then
-device VGA,vgamem_mb=64 \
-debugcon stdio \
-object filter-dump,id=hue,netdev=breh,file=e1000.pcap \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888 \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \
-device e1000,netdev=breh \
-hda _disk_image \
-soundhw pcspk
@ -57,7 +57,7 @@ else
-device VGA,vgamem_mb=64 \
-debugcon stdio \
-object filter-dump,id=hue,netdev=breh,file=e1000.pcap \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888 \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \
-device e1000,netdev=breh \
-kernel kernel \
-append "${SERENITY_KERNEL_CMDLINE}" \