Add inception support: KVM-enabled kernel and /dev/kvm creation#20
Merged
Conversation
87bf341 to
1898722
Compare
Tests that btrfs filesystems can be mounted into containers via fuse-pipe and function correctly: - Mount btrfs loopback into container via --volume - Create/read files through fuse-pipe - Verify copy_file_range creates btrfs reflinks (CoW) - Test file permissions preserved through FUSE - Test nested directory operations The reflink verification uses filefrag on host to confirm files share physical extents after copy, proving copy_file_range works through fuse-pipe and creates true CoW clones on btrfs. Tested: make test-root FILTER=btrfs (passed)
1898722 to
f487d13
Compare
ejc3
added a commit
that referenced
this pull request
Mar 2, 2026
Add inception support: KVM-enabled kernel and /dev/kvm creation
ejc3
added a commit
that referenced
this pull request
Mar 2, 2026
Add inception support: KVM-enabled kernel and /dev/kvm creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds inception support for running fcvm inside fcvm (nested virtualization).
Key Design
Content-addressed caching: The inception kernel name includes the SHA of build.sh + inception.conf, so changes automatically trigger rebuilds.
fc-agent creates /dev/kvm at boot. This is a no-op if the kernel doesn't have CONFIG_KVM (the mknod succeeds but device won't work). With inception kernel, mknod creates a functional device.
Test Plan
make test-root FILTER=kvm- passedUsage