Skip to content

dev-virtio,configs-arm: Add 9P directory rootfs support#3176

Open
lionkov wants to merge 1 commit into
gem5:developfrom
lionkov:develop
Open

dev-virtio,configs-arm: Add 9P directory rootfs support#3176
lionkov wants to merge 1 commit into
gem5:developfrom
lionkov:develop

Conversation

@lionkov
Copy link
Copy Markdown

@lionkov lionkov commented May 15, 2026

Adds an optional npfs/ufs-backed VirtIO 9P backend. The backend is enabled at build time by setting NPFS_PATH to an npfs source tree and serializes npfs state into gem5 checkpoints, allowing a 9P-mounted directory filesystem to work across checkpoint and restore.

npfs is available from:

https://github.com/lionkov/npfs

Updates the ARM fs_bigLITTLE example with --rootfs-dir, --vio-9p-root, --vio-9p-tag, and --vio-9p-debug options. --rootfs-dir exports a host directory through VirtIO 9P, uses /dev/root as the default mount tag, and adds the kernel arguments required to mount the directory as the guest root filesystem.

Documents the optional npfs build flow and rootfs directory usage under src/dev/virtio.

Adds an optional npfs/ufs-backed VirtIO 9P backend. The backend is
enabled at build time by setting NPFS_PATH to an npfs source tree and
serializes npfs state into gem5 checkpoints, allowing a 9P-mounted
directory filesystem to work across checkpoint and restore.

npfs is available from:

    https://github.com/lionkov/npfs

Updates the ARM fs_bigLITTLE example with --rootfs-dir, --vio-9p-root,
--vio-9p-tag, and --vio-9p-debug options. --rootfs-dir exports a host
directory through VirtIO 9P, uses /dev/root as the default mount tag,
and adds the kernel arguments required to mount the directory as the
guest root filesystem.

Documents the optional npfs build flow and rootfs directory usage under
src/dev/virtio.
@erin-le
Copy link
Copy Markdown
Contributor

erin-le commented May 27, 2026

@giactra: Hello, would you be able to take a look at this PR when you get a chance? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configs gem5's Preprepared Python Configuration scripts. Typically found in "configs" dev-virtio gem5 virtio development code. Found in "src/dev/virtio"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants