I'm confused. Anyway,since I don't know how it works virtiofs,I'm using
virtio-9p every day. So I can say that bhyve already supports virtio-9p.
This is how I make it work under Linux :
-s 8,virtio-9p,sharename=<host-dir-path>
In the guest I need something like :
mount -t 9p -o trans=virtio,version=9p2000.L,rw sharename /mnt
I assume that what's missing on Windows 10 is only the ability to mount the
shared folder. Since mount is a linux command and windows 10 / 11 supports
linux with it's proper kernel,a good idea could be to try to mount the
shared resource within the WSL2 :)
Il giorno mar 30 nov 2021 alle ore 09:50 Andrea Bolognani <
abologna(a)redhat.com> ha scritto:
On Mon, Nov 29, 2021 at 08:00:15PM +0100, Mario Marietto wrote:
> I've been lucky to find a compatriot :) Sometimes time happens and it
makes
> me feel happy. You are right. I got confused. I've thought virtio-9p
> working depended on virtiofs working. Anyway, neither of those functions
> works :( Anyway I'm not sure that the right place to ask this question is
> the bhyve ML. It seems more a problem of Device drivers and Windows 11.
I think it might be worth a shot. Hopefully FreeBSD is planning to
implement virtiofs support in bhyve at some point in the not too
distant future, but in the meantime other users might be able to
suggest alternative ways to implement host/guest file sharing.
Good luck!
--
Andrea Bolognani / Red Hat / Virtualization
--
Mario.