Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtask 更改qemu网卡mac地址编译选项无效 #396

Open
lijinnn opened this issue Oct 31, 2022 · 1 comment
Open

xtask 更改qemu网卡mac地址编译选项无效 #396

lijinnn opened this issue Oct 31, 2022 · 1 comment

Comments

@lijinnn
Copy link

lijinnn commented Oct 31, 2022

尝试在xtask/src/build.rs 中更改e1000e网卡的mac地址失败,跟踪代码发现在drivers/src/bus/pci.rs中第184行将可以更改网卡设备的ip和地址的参数index写死了,使得无法配置mac。

@YdrMaster
Copy link
Collaborator

可能先在你自己的 fork 上弄一下吧……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants