Re: RFC: Kernel virtiofs driver

From: Bakul Shah <bakul_at_iitbombay.org>
Date: Wed, 11 Feb 2026 06:20:12 UTC
On Feb 10, 2026, at 8:27 PM, Paul Vixie <paul@redbarn.org> wrote:
> 
> Do both p9fs and virtiofs both support mmap() such that two or more guests, and the host, can all map a file on the host for read/write access, and each see writes made by the others? This is my pain point with nfs and smb.

At least read-access works fine in p9fs. Haven't tried anything else.
I suspect writes would be not seen across VMs (at least for p9fs).
For that to work you'd have to map the same host page in both VMs.


> Is either one as lightweight as zvol and ufs, such that I could consider using it for the os? 
> 
> I appreciate all the effort both teams have put in. 
> Paul Vixie