Skip to content

Add --virtiofsd CLI option and VIRTIOFSD_BIN env var support#266

Open
nickryand wants to merge 3 commits into
bootc-dev:mainfrom
nickryand:push-kpxpkoswxpww
Open

Add --virtiofsd CLI option and VIRTIOFSD_BIN env var support#266
nickryand wants to merge 3 commits into
bootc-dev:mainfrom
nickryand:push-kpxpkoswxpww

Conversation

@nickryand
Copy link
Copy Markdown

This should close out #265.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces the ability to explicitly specify the path to the virtiofsd binary via a new configuration option, a --virtiofsd CLI flag, and a VIRTIOFSD_BIN environment variable. This allows users to override the default auto-detection logic. The changes span the virtiofsd spawning logic in bcvk-qemu and the CLI argument handling in kit. Feedback suggests improving error handling by verifying the existence of the user-provided path immediately and addressing potential path resolution or accessibility issues when the binary is used within a containerized environment.

Comment thread crates/bcvk-qemu/src/virtiofsd.rs Outdated
Comment thread crates/kit/src/run_ephemeral.rs
@nickryand nickryand force-pushed the push-kpxpkoswxpww branch from c939cff to 2a50a76 Compare May 14, 2026 19:55
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.

1 participant