Skip to content

More virtiofs#67

Closed
cgwalters wants to merge 8 commits into
bootc-dev:mainfrom
cgwalters:more-virtiofs
Closed

More virtiofs#67
cgwalters wants to merge 8 commits into
bootc-dev:mainfrom
cgwalters:more-virtiofs

Conversation

@cgwalters
Copy link
Copy Markdown
Collaborator

No description provided.

@cgwalters cgwalters force-pushed the more-virtiofs branch 3 times, most recently from ee1adee to 9d3f1cc Compare October 14, 2025 17:39
Otherwise we are subject to hit FD exhaustion.
See bootc-dev#65

Signed-off-by: Colin Walters <walters@verbum.org>
Don't pretend we can configure it.

Signed-off-by: Colin Walters <walters@verbum.org>
Switch VirtiofsConfig to use Utf8PathBuf instead of String for socket_path
and shared_dir fields. This provides better type safety for filesystem paths
and matches the camino conventions used elsewhere in the codebase.

Signed-off-by: Colin Walters <walters@verbum.org>
Add --readonly flag to virtiofsd and rootflags=ro to the kernel command
line. Since we use systemd.volatile=overlay, the guest has a writable
overlay on top, so there's no need for virtiofsd to support writes.

This provides an additional layer of safety.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters closed this Oct 14, 2025
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