Skip to content

SPECS: Add firecracker - #1559

Merged
misaka00251 merged 75 commits into
openRuyi-Project:mainfrom
Jvlegod:firecracker
Nov 3, 2026
Merged

misaka00251 merged 75 commits into
openRuyi-Project:mainfrom
Jvlegod:firecracker

Conversation

@Jvlegod

@Jvlegod Jvlegod commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

repo: https://github.com/firecracker-microvm/firecracker

This package introduces Firecracker to openRuyi.

Firecracker is an open-source lightweight virtual machine monitor (VMM) by AWS, designed for running microVMs. Based on Linux KVM and written in Rust, it aims to provide the isolation of a virtual machine with the startup speed and resource overhead close to that of a container.

Checklist

Assisted-by: GPT-6-Sol

@openruyi-bot openruyi-bot Bot added AI Assistance AI is used to help with portions of code, tests, or documentation. Community: Student contribution Used by contributors that are currently students at an educational institution. BuildSystem: rust Issue/PR related to rust BuildSystem. BuildSystem: rustcrate Issue/PR related to rustcrate BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Oct 31, 2026
@Jvlegod Jvlegod changed the title SPECS: add firecracker SPECS: Add firecracker Oct 31, 2026
@openruyi-bot openruyi-bot Bot added the Community: Contribution Issues that are actively being worked on by our community. label Oct 31, 2026
@Jvlegod
Jvlegod force-pushed the firecracker branch 2 times, most recently from d549deb to c92a754 Compare October 31, 2026 07:14
@yinjiayi

yinjiayi commented Nov 1, 2026

Copy link
Copy Markdown
Member

Thanks for your contribution! We've noticed this PR and will arrange a review soon. Feel free to leave updates or extra context here in the meantime.

@Jvlegod

Jvlegod commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor Author

boot

$ qemu-system-riscv64 \
  -nographic -machine virt,pflash0=pflash0,pflash1=pflash1,aia=aplic-imsic \
  -smp 8 -m 12G \
  -cpu rva23s64 \
  -blockdev node-name=pflash0,driver=file,read-only=on,filename="RISCV_VIRT_CODE.fd" \
  -blockdev node-name=pflash1,driver=file,filename="RISCV_VIRT_VARS.fd" \
  -drive file="openRuyi-2026.06-Server-cloud.qcow2",format=qcow2,id=hd0,if=none \
  -object rng-random,filename=/dev/urandom,id=rng0 \
  -device virtio-vga \
  -device virtio-rng-device,rng=rng0 \
  -device virtio-blk-device,drive=hd0 \
  -device virtio-net-device,netdev=usernet \
  -netdev user,id=use^Cet,hostfwd=tcp::12055-:22 \
  -device qemu-xhci -usb -device usb-kbd -device usb-tablet

tests

terminal1

image

terminal2

image

References

@openruyi-bot openruyi-bot Bot added Workflow: In Review Issues that are undergoing code review and/or undergoing design review. and removed Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Nov 3, 2026
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
@misaka00251
misaka00251 merged commit b214b96 into openRuyi-Project:main Nov 3, 2026
3 of 4 checks passed
@openruyi-bot openruyi-bot Bot added Workflow: Complete Applied after all MRs have merged and the issue has been verified if necessary. and removed Workflow: In Review Issues that are undergoing code review and/or undergoing design review. labels Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Assistance AI is used to help with portions of code, tests, or documentation. BuildSystem: rust Issue/PR related to rust BuildSystem. BuildSystem: rustcrate Issue/PR related to rustcrate BuildSystem. Community: Contribution Issues that are actively being worked on by our community. Community: Student contribution Used by contributors that are currently students at an educational institution. Target: Rolling Targeting rolling/current branch. Workflow: Complete Applied after all MRs have merged and the issue has been verified if necessary.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants