网络配置
https://qemu.weilnetz.de/doc/qemu-doc.html#sec_005finvocation
http://smilejay.com/2012/08/kvm-bridge-networking/
https://blog.csdn.net/qq_34160841/article/details/104901127
下面两个需要着重配置
http://blog.chinaunix.net/uid-21375345-id-2404457.html
http://www.linuxfromscratch.org/blfs/view/systemd/postlfs/qemu.html
http://smilejay.com/2012/08/kvm-bridge-networking/
http://smilejay.com/2016/09/kvm-nat-networking/
http://smilejay.com/2016/09/kvm-user-mode-networking/
https://blog.51cto.com/lnsane784/1958356
可以修改各个网卡的IP地址
sudo gvim /etc/qemu-ifup
echo sudo tunctl -u $(id -un) -t $1 sudo tunctl -u $(id -un) -t $1 echo sudo ifconfig $1 0.0.0.0 promisc up sudo ifconfig $1 0.0.0.0 promisc up echo sudo brctl addif br0 $1 sudo brctl addif br0 $1
#sudo ifconfig br0 192.168.29.123
#sudo ifconfig $1 192.168.29.124
echo brctl show sudo brctl show
http://bbs.eeworld.com.cn/thread-480749-1-1.html
http://bbs.eeworld.com.cn/thread-480542-1-1.html
http://bbs.eeworld.com.cn/thread-474562-1-1.html
https://www.cnblogs.com/pengdonglin137/p/11517407.html
MIPS
https://www.cnblogs.com/leop/p/5119122.html
http://austinhanson.com/vscode-gdb-and-debugging-an-os
https://wiki.segger.com/J-Link:Visual_Studio_Code
https://wiki.qemu.org/Documentation/Networking
Use -nic model=help to get a list of the supported NIC models.
If you don't care about the NIC model, you can also omit that option. So the shortest way to get a tap device is for example simply:
-nic tap
The NIC option should also be use to configure NICs on embedded systems (which can not be used via -device). For example, to connect such an on-board NIC to the tap backend and change its MAC-address, you can use the -nic option like this:
-nic tap,mac=02:ca:fe:f0:0d:01