Skip to content

Conversation

@jasonbu
Copy link
Contributor

@jasonbu jasonbu commented Feb 3, 2026

Summary

Please see #18343

This PR adds VirtIO 9P filesystem (v9fs) support for BUILD_KERNEL.
Fix mmu/virtual memory cause v9fs break in kernel build.
Fix not continuously physical memory cause virtio v9fs client break.

Impact

v9fs able to work with build_kernel after patch.

Testing

ci test, test by #18343

crafcat7 and others added 2 commits February 3, 2026 23:27
For Kernel build, the va should not use for virtio transfer

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
The physic memory is not contiguous, need every page do up_addrenv_va_to_pa
The void * += may less compatible, we should use char*.

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
@jasonbu jasonbu requested a review from jerpelea as a code owner February 3, 2026 15:34
@github-actions github-actions bot added Area: File System File System issues Size: S The size of the change in this PR is small labels Feb 3, 2026
@simbit18
Copy link
Contributor

simbit18 commented Feb 3, 2026

Hi @jasonbu This file fs/v9fs/client.c is already present in this PR #18345. They are identical.

@jasonbu
Copy link
Contributor Author

jasonbu commented Feb 3, 2026

Hi @jasonbu This file fs/v9fs/client.c is already present in this PR #18345. They are identical.

Yes, as @jerpelea request separate pr into two patch, will rebase the #18343 After this patch merged.

Or directly use #18343 . both happy for me :)

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

Labels

Area: File System File System issues Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants