Re: [libvirt PATCHv2 10/10] docs: add virtiofs kbase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 24, 2020 at 10:41:32AM +0100, Peter Krempa wrote:
On Thu, Jan 23, 2020 at 18:46:11 +0100, Ján Tomko wrote:
Add a document describing the usage of virtiofs.
---
 docs/kbase.html.in      |   3 +
 docs/kbase/virtiofs.rst | 153 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 156 insertions(+)
 create mode 100644 docs/kbase/virtiofs.rst

[...]

+3. Add the ``vhost-user-fs`` QEMU device via the ``filesystem`` element
+
+::
+
+   <domain>
+     ...
+     <devices>
+       ...
+       <filesystem type='mount' accessmode='passthrough'>
+         <driver type='virtiofs'>
+           <binary>/usr/libexec/virtiofsd</binary>
+         </driver>
+         <source dir='/path'/>
+         <target dir='mount_tag'/>
+       </filesystem>
+       ...
+     </devices>
+   </domain>
+
+Note that despite its name, the ``target dir`` is actually a mount tag and does
+not have to correspond to the desired mount point in the guest.

In that case it should perhaps also have a different attribute.


I was considering that, however we already use it the same way for 9pfs.
https://www.redhat.com/archives/libvir-list/2019-November/msg01150.html

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux