Skip to content

Commit

Permalink
Runner: Forward host TCP port 8823 to guest port 23 in QEMU
Browse files Browse the repository at this point in the history
This makes it easier to test TelnetServer when running in QEMU.
  • Loading branch information
awesomekling committed Sep 9, 2019
1 parent c8be606 commit b07cf68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kernel/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}" \
Expand Down

0 comments on commit b07cf68

Please sign in to comment.