Hi Ciro,
This doesn't work straightforwardly right now. For gdb, I believe there is
a special case for debugging the guest application (see remote_gdb code).
Otherwise, there is a special network device: "EtherTap" that allows gem5
to send network request to the host. See src/dev/net/Ethernet.py.
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 th