From nobody Tue Feb 10 17:00:48 2026 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f9SWd0kK1z6Rdcl for ; Tue, 10 Feb 2026 17:01:17 +0000 (UTC) (envelope-from freebsd-virt.eva@winterschon.com) Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4f9SWW45nyz3XXr for ; Tue, 10 Feb 2026 17:01:11 +0000 (UTC) (envelope-from freebsd-virt.eva@winterschon.com) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5C2817A00F1; Tue, 10 Feb 2026 12:01:09 -0500 (EST) Received: from phl-imap-04 ([10.202.2.82]) by phl-compute-02.internal (MEProxy); Tue, 10 Feb 2026 12:01:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=winterschon.com; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1770742869; x=1770829269; bh=SGOvZmSx4YUrpJ1A4yxp/j/eORFQbXlbk1etRc/NtZM=; b= RcxovJCCf7mGJUdDeq3l4MZg87YHD4ClQZ+GJ9f+6fwXSAAG4ZZMto/q0obS88C6 PgreYar2niIrEtQbk8VOUxVoYZ9FTFZyrFG73AXXQhNFlOsSqwc50HE3zpBxkurM 1AUNSRgP5JShKHJ6MNqYIzdp0L+Hx6j+zCsrKUNnOHMhenFD5v7XgZZEX1PYZumf tQGfoC9MkQFQiGqqRKorZc8n/tL2Homi+Yb6PN1W2k+3tFmcMQg2UFGHjs4TL6+r gHRg7yjJDixloR1MhHjom707MWhodKWhlieVIJMA1aSoiB/dGD2eN2NA2qDnCyVK aB4f3suHLobuTu8khMiJ4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1770742869; x=1770829269; bh=S GOvZmSx4YUrpJ1A4yxp/j/eORFQbXlbk1etRc/NtZM=; b=Q3zjaPu3MfRPp3+pM qvVpkdpAM/5Cnjx7zvSY/ABlf7aJ4wW+hqpCK3yzziH/vH5Mf+9sqV1LZqHGYFor kjW6LEXhot0s+//YyvT2ceFDL+ieVnD+BkA2ofmR5++zCpGL8vJGDeeg6z0s/8qE 9DWT4X1LHlbtUF2dmAibp9/wBV6pETuUauuI9RIozvpGwYJi1SIQ/3adz87dS1+C FCdW9GHSGrLX62r8+lQaU2cby80z8o9wlpy+qlvnNITfFXKpSgjDGjTTCwid2Stj EB5yVMg+b62NuMdsHZcFNuqQNnft9OaoqxSCmGCp/tKrMrTuC2ZZPjX3OTwxDm/K /6OsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtddtvddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvffkjghfufgtgfesthhqredtredtjeenucfhrhhomhepgfhvrgcuhghi nhhtvghrshgthhpnnhcuoehfrhgvvggsshguqdhvihhrthdrvghvrgesfihinhhtvghrsh gthhhonhdrtghomheqnecuggftrfgrthhtvghrnhepteejfeeifeetudffhfffudfftefg gffgledthfejffevvdeiffekjedvieethedtnecuffhomhgrihhnpehfrhgvvggsshgurd horhhgpdhgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehfrhgvvggsshguqdhvihhrthdrvghvrgesfihinhhtvghrsh gthhhonhdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepvghmihhlsegvthhsrghlrghprghtihhsrdgtohhmpdhrtghpthhtohepfh hrvggvsghsugdqvhhirhhtuhgrlhhiiigrthhiohhnsehfrhgvvggsshgurdhorhhgpdhr tghpthhtohepmhgrrhhivghtthhovddttdeksehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: ic82e4800:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 9E4F2B60070; Tue, 10 Feb 2026 12:01:08 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 X-ThreadId: AEM0M7Y6sLro Date: Tue, 10 Feb 2026 09:00:48 -0800 From: =?UTF-8?Q?Eva_Wintersch=C3=B6n?= To: "Mario Marietto" , "Emil Tsalapatis" , "FreeBSD virtualization" Message-Id: <18183baa-e198-4b73-88f0-1f1169f6fea0@app.fastmail.com> In-Reply-To: References: Subject: Re: RFC: Kernel virtiofs driver Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN_FAIL(0.00)[157.124.12.202.asn.rspamd.com:query timed out] X-Rspamd-Queue-Id: 4f9SWW45nyz3XXr X-Spamd-Bar: ---- Hi Mario, Feature similarly aside, one benefit of introducing the virtiofs driver = (and other libvirt / qemu specific drivers) is centered on "Enterprise P= arity". By this I'm referring to the substantial demands that corporatio= ns and their development teams place on comparative analysis between ven= dor and operating system solutions.=20 Requisite stages of product design, implementation, and delivery timelin= e planning generally occur well in advance of any code or documentation= being written. Solutions analysis involving software architecture plann= ing and scoping stages will sometimes involve "Should we use Linux or Fr= eeBSD?" =E2=80=93 if FreeBSD lacks the same tooling as Linux where "thes= e things must be the same" then many orgs will simply not use FreeBSD.=20 Personally, I find FreeBSD technically superior in nearly every single p= ossible way compared to Linux, and having watched market share decrease = over the past twenty five years makes me sad (and it means that I have t= o use Linux more often). I want that trend reversed, and for that to hap= pen we need feature parity for (cloud related in particular) tooling - a= nd that's where the virtfs driver fits in the conversation. It brings us= one step closer to teams using FreeBSD instead of Linux. Ok enough of my rambling. Hope that makes sense.=20 Thanks,=20 Eva=20 On Mon, Feb 9, 2026, at 22:57, Mario Marietto wrote: > `Hello Emil,` > > `Inside a FreeBSD guest OS (15.0-RELEASE) I do :` > > kldload virtio_p9fs=20 > > kldload p9fs_load > > > `mount -t p9fs sharename /mnt/host` > > `` > > `This works for me,I can share files between FreeBSD 15.0 guest and=20 > FreeBSD 14.3 host os. So,what's missing in this case and which feature= s=20 > you added ?` > > `Thanks.` > > > > On Tue, Feb 10, 2026 at 4:05=E2=80=AFAM Emil Tsalapatis wrote: >> Hi everyone, >>=20 >> I recently finished the virtiofs driver and it is now ready for r= eview. The device allows for sharing directories between a FreeBSD guest= and a host. >>=20 >> The driver really is two components: >>=20 >> 1) The virtio device that sends FUSE tickets to and from the host: D4= 6295 >> 2) The file system that gets mounted in the guest: D46296 . >>=20 >> To test it you need a couple additional fixes/workarounds for FUSE-re= lated issues. You can grab a working tree here or apply diffs D55047 and D55046 . D55046 i= s a workaround, but still prevents an assertion failure related to FUSE = caching until the underlying issue is properly fixed on HEAD.=20 >>=20 >> To use it, make sure you are creating virtiofs device on the host the= n from the FreeBSD guest run >>=20 >> mount -t virtiofs >>=20 >> where is the name tag you gave to the virtiofs device in the ho= st VMM. >>=20 >> Reviews and testing welcome! >>=20 >> Thanks, >> Emil >>=20 >>=20 > > > --=20 > Mario.