[libvirt PATCHv4 06/15] conf: qemu: add virtiofs fsdriver type

Peter Krempa pkrempa at redhat.com
Wed Feb 26 07:09:37 UTC 2020


On Thu, Feb 20, 2020 at 15:32:43 +0100, Ján Tomko wrote:
> Introduce a new 'virtiofs' driver type for filesystem.
> 
> <filesystem type='mount' accessmode='passthrough'>
>   <driver type='virtiofs'/>
>   <source dir='/path'/>
>   <target dir='mount_tag'>
>   <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
> </filesystem>
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
> ---

[...]

> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index f4af65f13f..dab8fb8f6b 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
[...]

> @@ -3963,6 +3968,9 @@
>          while the value <code>immediate</code> means that a host writeback
>          is immediately triggered for all pages touched during a guest file
>          write operation <span class="since">(since 0.9.10)</span>.
> +        <span class="since">Since 6.1.0</span>, <code>type='virtiofs'</code>

Might require update now.

> +        is also supported. Using virtiofs requires setting up shared memory,
> +        see the guide: <a href="kbase/virtiofs.html">Virtio-FS</a>
>          </dd>
>          <dt><code>template</code></dt>
>          <dd>

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list