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

Initial riscv64 support for rust-vmm-container #91

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on May 18, 2024

  1. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    85fee23 View commit details
    Browse the repository at this point in the history
  2. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    37d4ca1 View commit details
    Browse the repository at this point in the history
  3. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    b0d7843 View commit details
    Browse the repository at this point in the history
  4. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    8fe553e View commit details
    Browse the repository at this point in the history
  5. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    d10a777 View commit details
    Browse the repository at this point in the history
  6. 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]>
    endeneer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    952837a View commit details
    Browse the repository at this point in the history