QEMU 汇总

网络配置

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/

http://wiki.sylixos.com/index.php/Linux%E7%8E%AF%E5%A2%83%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97#.E7.BC.96.E8.AF.91_qemu-mini2440

https://blog.51cto.com/lnsane784/1958356

 

可以修改各个网卡的IP地址 

sudo gvim /etc/qemu-ifup 

 #!/bin/sh

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

https://zhuanlan.zhihu.com/p/41258581?utm_source=wechat_session&utm_medium=social&utm_oi=746126615473319936

 

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
posted @ 2020-03-18 11:34  sinferwu  阅读(209)  评论(0编辑  收藏  举报