Skip to content

Add RISC-V support#29

Open
peeweep wants to merge 3 commits into
teemtee:mainfrom
peeweep:init-riscv64
Open

Add RISC-V support#29
peeweep wants to merge 3 commits into
teemtee:mainfrom
peeweep:init-riscv64

Conversation

@peeweep

@peeweep peeweep commented Jun 7, 2026

Copy link
Copy Markdown

Support booting riscv64 image

  • Fedora: add RISC-V image link.
  • Debian: add riscv64 to the arch map, add Debian 13 (Trixie) to the release map since Trixie is the first Debian release with official RISC-V support.
  • Add RISCV64ArchitectureConfiguration
  • Update README for riscv64.

@github-project-automation github-project-automation Bot moved this to backlog in planning Jun 10, 2026
@therazix therazix moved this from backlog to review in planning Jun 10, 2026
@thrix thrix self-requested a review June 23, 2026 22:34
@thrix thrix self-assigned this Jun 24, 2026
Comment thread testcloud/distro_utils/fedora.py Outdated
Comment thread testcloud/config.py
Comment thread testcloud/distro_utils/debian.py
cpu=(
"<cpu mode='host-passthrough' check='none'/>"
if self.kvm
else "<cpu mode='custom' match='exact'><model>rva23s64</model></cpu>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to be more conservative here? e.g. use rather rv64 ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'd prefer to keep rva23s64 for now. My primary use case is testing openruyi RISC-V images, which need at least RVA23. Since rva23s64 is a superset of rv64, it should remain backwards compatible so it won't cause issues for other use cases.

peeweep added 3 commits June 30, 2026 19:49
Instead of hardcoding a specific image URL, scrape the directory listing
at dl.fedoraproject.org/pub/alt/risc-v/release/{version}/Cloud/riscv64/images/
to find the latest Fedora-Cloud-Base-Generic qcow2 for the requested version.
Add riscv64 to the list of supported architectures and add a usage
example for Debian 13 on riscv64.
@peeweep peeweep requested a review from thrix June 30, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

3 participants