Integrate 9pfs multi-attach patches to support isolated 9pfs clients#210
Merged
Conversation
Add guest-kernel patches that let one Xen 9pfs frontend back several mounts, each attaching with its own aname, and advertise the capability as edera_multi_attach_v1 in /sys/fs/9p/features. This lets zones mount each volume as an independent 9p mount so df resolves per volume instead of every volume reporting the single shared device. The 9p mount API became fs_context-based in 6.19, so there are two variants: 9pfs-xen-multi-attach.patch (lower: 6.19) and an old-mount-API backport 9pfs-xen-multi-attach-6.18.patch (series: 6.18).
tycho
approved these changes
Jul 15, 2026
Contributor
Member
Author
|
This alone won't solve it, there is a separate PR at https://github.com/edera-dev/protect/pull/2968 which will need to be updated once this is built. After that is pinned to a new kernel here, it can use this new functionality. |
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.
Kernel patches to let one Xen 9pfs frontend serve multiple mounts, each with its own aname, advertised via /sys/fs/9p/features. This lets zones mount each volume as its own 9p mount so df resolves per-volume instead of everything showing the one shared device.
Two variants since the 9p mount API changed in 6.19:
Needs the matching protect zone/storage changes to actually be used; safe on unpatched kernels (the zone falls back to bind mounts when the feature isn't advertised).