This would allow however anyone on the same network (or in the world if run on a server) to connect to this network and possibly do bad things. Using localhost binding helps but is still risky if there is more than one user on a given machine. Using something like:
Thanks for the response. I'm not sure, how would I run qemu with a fd= socketpair on the command line?
The wiki (https:/ /wiki.qemu. org/index. php/Documentati on/Networking) suggests for example to use:
-netdev socket, id=mynet0, listen= :1234 id=mynet0, connect= :1234
-netdev socket,
This would allow however anyone on the same network (or in the world if run on a server) to connect to this network and possibly do bad things. Using localhost binding helps but is still risky if there is more than one user on a given machine. Using something like:
-netdev socket, id=mynet0, listen= ~/.qemu- netsocket id=mynet0, connect= ~/.qemu- netsocket
-netdev socket,
How would one do that with fd= ?