Skip to content

filesystem: Virtiofs support#2227

Merged
prestist merged 1 commit into
coreos:mainfrom
angelcerveraroldan:virtiofs
May 12, 2026
Merged

filesystem: Virtiofs support#2227
prestist merged 1 commit into
coreos:mainfrom
angelcerveraroldan:virtiofs

Conversation

@angelcerveraroldan
Copy link
Copy Markdown
Member

No description provided.

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 adds support for virtiofs filesystems. Key changes include new error definitions, validation logic to ensure non-block devices do not use block-specific fields like UUIDs or labels, and updates to the execution stage to skip formatting and device-waiting for virtiofs tags. I have no feedback to provide.

@angelcerveraroldan angelcerveraroldan force-pushed the virtiofs branch 2 times, most recently from 909d4f0 to a3be2c9 Compare May 5, 2026 12:19
Copy link
Copy Markdown
Collaborator

@prestist prestist left a comment

Choose a reason for hiding this comment

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

Oh wow this is looking good, I did add some comments! feel free to push back

Comment thread config/doc/ignition.yaml Outdated
Comment thread config/v3_7_experimental/types/filesystem.go
@angelcerveraroldan angelcerveraroldan force-pushed the virtiofs branch 2 times, most recently from d50cf33 to 52996f2 Compare May 6, 2026 10:54
@angelcerveraroldan angelcerveraroldan marked this pull request as ready for review May 7, 2026 10:12
Copy link
Copy Markdown
Collaborator

@prestist prestist left a comment

Choose a reason for hiding this comment

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

Overall this is looking good, the only nit I can see is that the commits should be squashed into 1 imo.

@prestist
Copy link
Copy Markdown
Collaborator

@angelcerveraroldan Sorry to keep picking the commit naming but I think we would be good to follow this pattern.
So the main thing here was the uppercase looks odd in the commit message (personal) and the relative path is nice since we have so many layers here.

internal/exec/stages/disks/filesystem: add virtiofs support

ex
cdb7935

@angelcerveraroldan
Copy link
Copy Markdown
Member Author

angelcerveraroldan commented May 11, 2026

Sorry for the commit messages! I had looked at the history, but was not exactly sure how to name it. I have updated it.

Add support for virtiofs in the v3_7_experimental spec. Since virtiofs
is not a block device, the device field is validated as a tag name
rather than a path, and UUID, wipeFilesystem, label, and mkfs options
are rejected at validation time.
Copy link
Copy Markdown
Collaborator

@prestist prestist left a comment

Choose a reason for hiding this comment

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

@angelcerveraroldan no not a problem at all, just being particular! LGTM

@prestist prestist merged commit e3c445c into coreos:main May 12, 2026
10 checks passed
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