<filesystem>

Specifies a virtio device that provides access to a file system branch on the host.

Text content

None.

Selected attributes

type=mount
Configures the file system as a host directory that can be mounted on the guest.
accessmode=passthrough
Sets the access permissions to the permissions that the guest user has as a user on the host.

Usage

Configuring a shared file system

Parent elements

<devices>

Child elements

Example


<devices>
   ...
   <filesystem type="mount" accessmode="passthrough">
      <driver type="virtiofs"/>
      <source dir="/share/vs01"/>
      <target dir="my_shared_fs"/>
      <address type="ccw" cssid="0xfe" ssid="0x0" devno="0x0003"/>
   </filesystem>
   ...
</devices>