Skip to content

Add Copy on Write support on the host for nanvix#1345

Open
jsturtevant wants to merge 1 commit intohyperlight-dev:mainfrom
jsturtevant:filemappings-nanvix
Open

Add Copy on Write support on the host for nanvix#1345
jsturtevant wants to merge 1 commit intohyperlight-dev:mainfrom
jsturtevant:filemappings-nanvix

Conversation

@jsturtevant
Copy link
Contributor

fixes: #1334

Hyperlight's map_file_cow creates READ+EXECUTE memory regions (no WRITE). Nanvix's VFS/FAT32 layer requires writable memory for the RAMFS image. Currently, Nanvix works around this by copying the entire RAMFS image from the read-only MMIO region to a heap-allocated buffer on Hyperlight (see nanvix/nanvix#1729).

Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
@jsturtevant jsturtevant force-pushed the filemappings-nanvix branch from b398d53 to fb7abb9 Compare March 25, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix For PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[nanvix] Make map_file_cow produce RWX memory regions behind nanvix-unstable

1 participant