[libvirt PATCHv2 10/10] docs: add virtiofs kbase
Ján Tomko
jtomko at redhat.com
Fri Jan 24 16:42:57 UTC 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200124/83bfdb9a/attachment-0001.sig>
More information about the libvir-list
mailing list