Skip to content

feat: Support per-mount id_mapping#227

Open
Zephyrcf wants to merge 3 commits into
cloud-hypervisor:masterfrom
Zephyrcf:feature/idmap-remap-ids
Open

feat: Support per-mount id_mapping#227
Zephyrcf wants to merge 3 commits into
cloud-hypervisor:masterfrom
Zephyrcf:feature/idmap-remap-ids

Conversation

@Zephyrcf

@Zephyrcf Zephyrcf commented Jul 3, 2026

Copy link
Copy Markdown

This PR implements per-mount ID mapping for the VFS layer, fixes a remapping arithmetic underflow bug, and extends ID remapping support to the async server/VFS path. Previously, UID/GID remapping was a single global VFS option; now each mounted filesystem can have its own independent mapping, enabling mixed-identity container/VM scenarios where different mounts need different user namespace translations.

@BraveY BraveY left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM. Thanks a lot for the helpful PR.

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