VirtIO-FS Support Is In QEMU 5.0 For Better File/Folder Sharing Between Hosts And VMs

Written by Michael Larabel in Virtualization on 21 April 2020 at 02:54 AM EDT. 6 Comments
VIRTUALIZATION
Added back in Linux 5.4 was the VirtIO-FS file-system driver as a a FUSE-framework-based file-system implementation designed for guest to/from host file-system sharing for VirtIO para-virtualized devices. Now with QEMU 5.0 VirtIO-FS is supported on its side.

VirtIO-FS offers better performance than the likes of VirtIO-9P for sharing files/folders between the host system and guest virtual machines. With the forthcoming QEMU 5.0, VirtIO-FS is now supported.

A blog post this week by developer Stefan Hajnoczi outlines using VirtIO-FS in conjunction with QEMU 5.0 on supported kernel configurations.

"A key feature of virtio-fs is the ability to directly access the host page cache, eliminating the need to copy file contents into guest RAM. This so-called DAX support is not upstream yet. Live migration is not yet implemented. It is a little challenging to transfer all file system state to the destination host and seamlessly continue file system operation without remounting, but it should be doable. There is a Rust implementation of virtiofsd that is close to reaching maturity and will replace the C implementation," find out more on Stefan's blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week