3 ms·
Bhyve (FreeBSD's native hypervisor) already contains a 9P over VirtIO "server". The protocols allows virtual machines and their host to share a directory instea
by crest 2y ago
Bhyve (FreeBSD's native hypervisor) already contains a 9P over VirtIO "server". The protocols allows virtual machines and their host to share a directory instead of block storage without having to configure and use a network filesystem like NFS. It's even bootable as in the UEFI BootROM should be able to read the bootloader via 9P, the bootloader can use EFI boot services to read the kernel (configuration, kernel image, kernel modules), and the kernel can than mount it as root filesystem. This means that use a directory instead of an image to boot a virtual machine. I can imagine a lot of use-cases for this e.g. a CI/CD pipeline that tests an experimental kernel (feature) inside a hypervisor.
- yjftsjthsd-h 2y ago> to share a directory instead of block storage without having to configure and use a network filesystem like NFS. How different is it? I sorta had 9P and NFS as loosely equivalent in my head - both are network filesystems that let you mount a directory from one host to another.