Filesystem Passthrough to FreeBSD guest on libvirt/KVM

Leon Christopher Dietrich doralitze at
Sat Nov 14 19:25:55 UTC 2020

Hi there,

I'm hoping I'm on the right mailing list with my question.

I'm currently running a FreeBSD guest on an libvirt and KVM based
hypervisor. On said machine I'm mounting a folder located on the hv
using SMB. I've used NFS in the past but switched to samba for
performance reasons, which helped a lot but it's still a bottle neck. So
I thought about using virtio's 9p mapping.

I'm aware that there is currently an ongoing effort on porting 9pfs to
bhyve in order to serve Linux guests with a file system pass-through but
after an extended amount of research I couldn't find information on how
to mount a 9p shared directory within a FreeBSD guest.

Is it possible to do so? If so: could anyone point me to appropriate
documentation please? If not: Is there any better way to do so?

Thanks in advance!

P.S. I've got root privileges on the hypervisor and installing packages
on that machine is possible but I'm afraid switching to VMWare or
Virtualbox isn't an option.

More information about the freebsd-questions mailing list