-
Notifications
You must be signed in to change notification settings - Fork 32
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
Initial riscv64 support for rust-vmm-container #91
base: main
Are you sure you want to change the base?
Commits on May 18, 2024
-
Dockerfile.riscv64: Initial rust-vmm-container support for riscv64
There is no RISC-V server at the moment, so we don't have a native machine to try out RISC-V KVM API. Therefore, we have to use QEMU to emulate RISC-V machine during unittests. To support such emulation, Dockerfile.riscv64 builds Docker image that contains QEMU along with OpenSBI, Linux kernel, and rootfs needed by the guest. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85fee23 - Browse repository at this point
Copy the full SHA 85fee23View commit details -
riscv64: Add files needed by Dockerfile.riscv64
- qemu.sh is for launching QEMU guest from inside Docker container. - interfaces and resolv.conf are for setting up networking in QEMU guest. - test.service and test-service.sh is to create systemd service that runs test during system init. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37d4ca1 - Browse repository at this point
Copy the full SHA 37d4ca1View commit details -
docker.sh: Update build, publish, and manifest to support riscv64
For riscv64 build/publish/manifest, introduce `ARCH=riscv64` environment variable, to be used like this: `ARCH=riscv64 ./docker.sh <build/publish/manifest>`. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0d7843 - Browse repository at this point
Copy the full SHA b0d7843View commit details -
riscv64: Add example scripts for riscv64 rust-vmm-container usage
Add example scripts to show the usage of the riscv64 Docker image: - docker-build.sh: Build riscv64 rust-vmm-container Docker image. - docker-run.sh: Enter the container image and see how's the build went. - docker-test.sh: Run CI for build-gnu-riscv64 and unittests-gnu-riscv64. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8fe553e - Browse repository at this point
Copy the full SHA 8fe553eView commit details -
README.md: Add riscv64-related information
Update README.md to inform about the addition of riscv64 rust-vmm-container support. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d10a777 - Browse repository at this point
Copy the full SHA d10a777View commit details -
GitHub: Add docker-publish-riscv64.yml for riscv64
To handle push/pull request concerning riscv64-related files. Signed-off-by: Tan En De <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 952837a - Browse repository at this point
Copy the full SHA 952837aView commit details