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

riscv64: Fix VM network #116

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

TimePrinciple
Copy link
Collaborator

@TimePrinciple TimePrinciple commented Sep 6, 2024

Summary of the PR

Change nameserver from 8.8.8.8 to 10.0.2.3 as QEMU User Networking (SLIRP)[1] documents.

[1] https://wiki.qemu.org/Documentation/Networking

Which addresses the network problem when cargo tries to fetch packages from index.crates.io.

Fixes: rust-vmm/kvm-bindings#106

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

Change `nameserver` from `8.8.8.8` to `10.0.2.3` as QEMU User Networking
(SLIRP)[1] documents.

[1] https://wiki.qemu.org/Documentation/Networking

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
@TimePrinciple
Copy link
Collaborator Author

TimePrinciple commented Sep 6, 2024

This fix is verified in rust-vmm-ci-ci, see below:

截屏2024-09-06 13 19 48

Detailed log is here.

Thanks for @stefano-garzarella's help ❤️, addresses exactly where the problem is.

@roypat roypat merged commit 15f474a into rust-vmm:main Sep 6, 2024
3 checks passed
@TimePrinciple TimePrinciple deleted the fix-riscv-qemu-network branch September 6, 2024 08:10
TimePrinciple added a commit to TimePrinciple/rust-vmm-ci that referenced this pull request Sep 6, 2024
This version includes a fix [1] on network problem of riscv64 QEMU VM.

[1] rust-vmm/rust-vmm-container#116

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
TimePrinciple added a commit to TimePrinciple/rust-vmm-ci that referenced this pull request Sep 6, 2024
This version includes a fix [1] on network problem of riscv64 QEMU VM.

[1] rust-vmm/rust-vmm-container#116

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
stefano-garzarella pushed a commit to rust-vmm/rust-vmm-ci that referenced this pull request Sep 6, 2024
This version includes a fix [1] on network problem of riscv64 QEMU VM.

[1] rust-vmm/rust-vmm-container#116

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
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

Successfully merging this pull request may close these issues.

3 participants