Updated: April 19, 2023 |
To support virtual filesystems in a QNX Hypervisor system, you must have certain components in your guest and host images, and configure the virtio-fs vdev in the guest's VM.
To share host directories with guests through virtual filesystems, your hypervisor host buildfile must include the following components in the host image:
The virtio-fs vdev is a para-virtualized device. It runs in a hypervisor VM, but it doesn't emulate a physical device that stores files. Instead, it provides the filesystem functionality that an OS would provide in a nonvirtualized environment.
Because the vdev is a para-virtualized device, the guest must know that it is running in a virtualized environment and add the VirtIO filesystem kernel driver (e.g., virtio-fs.ko for an Android or Linux guest) to its image. See Building guests in the QNX Hypervisor User's Guide for more guidelines.