https://stackoverflow.com/questions/48941494

For example, I want to be able to do on guest:

    nc -l -p 45455

and then on host:

    echo asdf | nc  localhost 45455

and have the guest receive the `asdf`.

My initial goal with this is to setup `gdbserver`, but this could also
be used for fun things like simulating clusters.

In QEMU for example, I can do that with:

    -netdev user,hostfwd=tcp::45455-:45455,id=net0

I am also interested in the guest to host direction, although that I
haven't managed to do in QEMU yet:
https://serverfault.com/questions/769874/how-to-forward-a-port-from-guest-to-host-in-qemu-kvm
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to