From 71d68e4f90889ef865145f5fb691fd3a487e46b9 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 27 Apr 2021 08:49:00 +0100 Subject: [PATCH] docs: Update virtio-fs documentation regarding kernel support Signed-off-by: Rob Bradford --- docs/fs.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/fs.md b/docs/fs.md index 90f7e2b60..03223a99c 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -35,13 +35,10 @@ The `cache=none` option should be the default when using `virtiofsd` with the __ The `cache=always` option will allow for the guest page cache to be used, which will increase the memory footprint of the guest. This option should be used only for specific use cases where a single VM is going to be running on a host. -### The kernel +### Kernel support -In order to leverage __virtio-fs__ support from within the guest, and because the code has not been merged in upstream Linux kernel yet, it is required to build a custom kernel embedding the patches. - -The following branch `virtio-fs-virtio-iommu` on the repository https://github.com/cloud-hypervisor/linux.git includes all the needed patches to support __virtio-fs__. - -Make sure to build a kernel out of this branch that can be then used to boot the VM. +Modern Linux kernels starting (at least v5.10) have support for virtio-fs. Use +of older kernels, with additional patches, are not supported. ## How to share directories with cloud-hypervisor