Skip to content

feat(microvm): add support for ext3, ext4, and xfs rootfs formats#6

Open
restuhaqza wants to merge 2 commits intohysnsec:mainfrom
restuhaqza:main
Open

feat(microvm): add support for ext3, ext4, and xfs rootfs formats#6
restuhaqza wants to merge 2 commits intohysnsec:mainfrom
restuhaqza:main

Conversation

@restuhaqza
Copy link

Add configurable rootfs_format parameter to MicroVM class, allowing users to specify the filesystem format (ext3, ext4, or xfs) when creating rootfs images. The ext4 format remains the default to maintain backward compatibility.

Changes include:

  • Added rootfs_format configuration option with ext3, ext4, xfs support
  • Updated _build_rootfs to format filesystems based on specified type
  • Modified overlayfs file extension to match rootfs format
  • Added validation for supported filesystem formats
  • Included comprehensive test coverage for all formats
  • Added example demonstrating filesystem format usage

Add configurable rootfs_format parameter to MicroVM class, allowing users
to specify the filesystem format (ext3, ext4, or xfs) when creating
rootfs images. The ext4 format remains the default to maintain backward
compatibility.

Changes include:
- Added rootfs_format configuration option with ext3, ext4, xfs support
- Updated _build_rootfs to format filesystems based on specified type
- Modified overlayfs file extension to match rootfs format
- Added validation for supported filesystem formats
- Included comprehensive test coverage for all formats
- Added example demonstrating filesystem format usage
@0xR35tu 0xR35tu requested a review from yashdiq-pdso February 3, 2026 04:04
Copy link
Collaborator

@yashdiq-pdso yashdiq-pdso left a comment

Choose a reason for hiding this comment

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

LGTM

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