Skip to content

feat: enable vmrt to boot with host virtiofs drive as root fs #200

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yvan-sraka
Copy link

@yvan-sraka yvan-sraka commented Mar 24, 2025

Allow using a host virtiofs drive (exposed as a socket) as the guest root filesystem in the QEMU VM (and successfully boot from it)!

This tweak both the runtime flags passed to vmrt and the init programs in the initramfs. The whole setup is gated behind VIRTIOFS Makefile flag and a virtiofs Cargo feature.

@CLAassistant
Copy link

CLAassistant commented Mar 24, 2025

CLA assistant check
All committers have signed the CLA.

@yvan-sraka yvan-sraka force-pushed the poc-tvix-castore/tweak-qemu-args branch from 0397268 to 201a3a4 Compare April 14, 2025 07:16
@yvan-sraka yvan-sraka changed the title [WIP] Document and tweaks vmrt (qemu) CLI args feat: enable vmrt to boot with host virtiofs drive as root fs Apr 14, 2025
@yvan-sraka yvan-sraka force-pushed the poc-tvix-castore/tweak-qemu-args branch 4 times, most recently from ab628b4 to 579dcc1 Compare April 14, 2025 07:37
Allow using a host virtiofs drive (exposed as a socket) as the guest
root filesystem in the QEMU VM (and successfully boot from it)!

This tweak both the runtime flags passed to `vmrt` and the `init`
programs in the initramfs. The whole setup is gated behind `VIRTIOFS`
Makefile flag and a `virtiofs` Cargo feature.
@yvan-sraka yvan-sraka force-pushed the poc-tvix-castore/tweak-qemu-args branch from 579dcc1 to 3cdac3d Compare April 14, 2025 07:39
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.

2 participants