From nobody Tue Feb 10 03:04:51 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 4f95yr75b1z6RJ1D for ; Tue, 10 Feb 2026 03:05:08 +0000 (UTC) (envelope-from emil@etsalapatis.com) Received: from mail-yx1-xb12b.google.com (mail-yx1-xb12b.google.com [IPv6:2607:f8b0:4864:20::b12b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f95yq613Cz3SsD for ; Tue, 10 Feb 2026 03:05:07 +0000 (UTC) (envelope-from emil@etsalapatis.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=etsalapatis-com.20230601.gappssmtp.com header.s=20230601 header.b=Eu4sFIo+; dmarc=none; arc=pass ("google.com:s=arc-20240605:i=1"); spf=pass (mx1.freebsd.org: domain of emil@etsalapatis.com designates 2607:f8b0:4864:20::b12b as permitted sender) smtp.mailfrom=emil@etsalapatis.com Received: by mail-yx1-xb12b.google.com with SMTP id 956f58d0204a3-649e97f1e1eso4163585d50.1 for ; Mon, 09 Feb 2026 19:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770692702; cv=none; d=google.com; s=arc-20240605; b=CGS+rEBSfaFy/PXZ74HoSr51zSS9FY7YEZCOn7gGaF6cTBPacBUacTezRx0aevdYhZ Uk/qRJWlBe0b6TOOX57lNy6m2UvdUhZWVUDR4I64Dw6m2cotg4Z5jkb9KW8+yIQoGFYy QggNtYSLERukVXkaiYAsaaQTpsMW7iI4Xk/BEDOkFrXzsficv9hK0e3roaQPs6SdcTVH HeaPPjflgvAkxN7bJ+yZVNx/Ob0cxeFLgFsKMNdASUdFkiaJsrWXTZSSVAklpUZ/N+z4 yJc+BCtJkyQqX7Ij2oX36J733rX54dlXk3GsOxxVYti8xB6OslTs+XRrgTBPl1BT1E+u Cpgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=Titaj/m/1H4NIWdlei6DF9NbFw5sTsTLJIl2UFPOHaI=; fh=ylUwfYAaqnlHnbbHViNqLb9oyzx4pioDM0r7rHIkE40=; b=MlLSeP+LBERKseel/aSsSMxshyW7FBjfr/YEse+z4ZpGPpBGdA5ZwU5R7ub1WFAZuZ o+lIKMsanw9EVCdOCYrB8Bj0S1qU/y6r5g3sPULAX2oI7teVtiEbT6AsgPawoYIoTcIC xxlMs9Wi2VXTd7dUKm1QLELnKaygZXINV89QiENlvuY1MOinIj2RIo2XjAJ2cBFu+L0J xMJ0CvshrHrAx+dGv46hCRuUJo4SS0w/HoO9Xw5E8S7Z2CTWyG/CCMWi0Oiu+7tEuOZT 9zdDhuhArAhSiTbFxa1usZPImQQAmDss+ba/1qAOJ9h+iFuRdHKfWtA0g/P58NeP4FRs nvCg==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=etsalapatis-com.20230601.gappssmtp.com; s=20230601; t=1770692702; x=1771297502; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Titaj/m/1H4NIWdlei6DF9NbFw5sTsTLJIl2UFPOHaI=; b=Eu4sFIo+0F616WjlWMfTjbbvGPxz00nJmZdqRQiOnn/KvM6VpOBaGCDJk4jLwKmV9c G7VG6vQasV590aaKKbw5nChZmxEnLQZFTy+rko86mrCZI4LuBx4YwU2V9U6QISWgOEpK X7+aDvIjoVYRagylqQyP5ZdjqT6zTfGr6VTVHNjAav17rsiFLKacYb74SIV+MJqYX9mM Terz+ZObvSRK9vcCmsNn94obiTM5sCxhgFJdJAlwPbko7C9C4cAq/aa/K9LXFygxwB4V 2tbtLt0PeUcCD4UtTbc57foByxurSRxucZr/obvYyLhj5UNowJNmZnxiH0GgGGFhJaLt Vi8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770692702; x=1771297502; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Titaj/m/1H4NIWdlei6DF9NbFw5sTsTLJIl2UFPOHaI=; b=sQ0cg0i8FYqIel+HS5hS7fGBC9c570Pw+mt54qTDIqE/yywiBlpHsdL6yT4Ru1Eiyh QCR8XJaBFGbTsdZ/8MEG6CQ9qEXtFoXiNna6W4BSEsE0G9d33VZxLI9KopupfjcRuolT s6jMU7mAlwci+JRnA3XcEP+psjF5xEjDS0tM2IIaEiZJwsiZ0epcPdtrPP2ZWU5jdt+c mtVn1HrfBkkIl4Zkae2HhXXGlMGDlER6MF6RPlZnFsfBenAM0+yKApQSyJIONXCGXevy 56MbSmg9K+psLuAAzpJkaVHgICwuFI5vQb+K6+LyDkwysfo9p234sAsMLTZJWP9k6xIU zTIA== X-Gm-Message-State: AOJu0YwB9CbnEZNre2iekEJcJeRHbL2rtCUp8+x2wcq7ygHPKI59GYeh isniot3lWcrE/awYNdklg8hc3e+AAWK26Ir3n1MxzpTTxId3qTMopR0IY0QYTWxy0ksBDp85lB8 Ul75OpFql7QAa4w1o/9GDplu1UBCCyHQxlgGSjJy40XhlzQae0y+iF4qAbA== X-Gm-Gg: AZuq6aJlEi+JXbqY/CHjG7Yp4zgMYXGwNTvHhn+TxW1KgYG7O4ln9xULN+DOhwM+U0L 1tt3VqBo2UcPTdLIw2W6wZPXxsgNvsauqrRm3JNkAh+pzXPZcQt2wYpPCQEYvFiXlyO/k+c87b8 0proVgQBp06g680vQ5ShDOHpelwTigCSHwdPNhc1g7rPUtul/mHmHiXVOYrV2dpR9YAs1DKJAUs gcAY3kE0EAXSn/ujlgbSzLY1uIr7ycew+M5LkmzBUogYYcUAkzxLhcfURGUPTOICt2rE99dvHvH siG0RTOax9tTPz0ijn6B X-Received: by 2002:a05:690e:124f:b0:64a:dc2e:9b22 with SMTP id 956f58d0204a3-64af21b766cmr581152d50.74.1770692701988; Mon, 09 Feb 2026 19:05:01 -0800 (PST) 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 From: Emil Tsalapatis Date: Mon, 9 Feb 2026 22:04:51 -0500 X-Gm-Features: AZwV_Qh01BjD0LcHPknHlQ5uBKKOIa6wmE8FI6BenZdIEEHYx0MsJjTN4w8HZbs Message-ID: Subject: RFC: Kernel virtiofs driver To: Virtualisation on FreeBSD Content-Type: multipart/alternative; boundary="000000000000823f05064a6f8508" X-Spamd-Result: default: False [-4.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; ARC_ALLOW(-1.00)[google.com:s=arc-20240605:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[etsalapatis-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[etsalapatis.com]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b12b:from]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DKIM_TRACE(0.00)[etsalapatis-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4f95yq613Cz3SsD X-Spamd-Bar: ---- --000000000000823f05064a6f8508 Content-Type: text/plain; charset="UTF-8" Hi everyone, I recently finished the virtiofs driver and it is now ready for review. The device allows for sharing directories between a FreeBSD guest and a host. The driver really is two components: 1) The virtio device that sends FUSE tickets to and from the host: D46295 2) The file system that gets mounted in the guest: D46296 . To test it you need a couple additional fixes/workarounds for FUSE-related issues. You can grab a working tree here or apply diffs D55047 and D55046 . D55046 is a workaround, but still prevents an assertion failure related to FUSE caching until the underlying issue is properly fixed on HEAD. To use it, make sure you are creating virtiofs device on the host then from the FreeBSD guest run mount -t virtiofs where is the name tag you gave to the virtiofs device in the host VMM. Reviews and testing welcome! Thanks, Emil --000000000000823f05064a6f8508 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

=C2=A0 =C2=A0 I = recently finished the virtiofs driver and it is now ready for review. The d= evice allows for sharing directories between a FreeBSD guest and a host.
The driver really is two components:

1) The virtio = device that sends FUSE tickets to and from the host: D46295
2) The file= system that gets mounted in the guest: D46296.

To test it you need a couple additional fixes/workarounds for FUSE-relat= ed issues. You can grab a working tree here or apply diffs D55047 and D55046. D55046 is a workaround, but=20 still prevents an assertion failure related to FUSE caching until the under= lying issue is properly fixed on HEAD.=C2=A0

To us= e it, make sure you are creating virtiofs device on the host then from the = FreeBSD guest run

mount -t virtiofs <tag> &l= t;mountpoint>

where <tag> is the name tag= you gave to the virtiofs device in the host VMM.

= Reviews and testing welcome!

Thanks,
Emi= l


--000000000000823f05064a6f8508--