[libvirt] [PATCH 6/9] conf: qemu: add virtio-fs fsdriver type
Stefan Hajnoczi
stefanha at gmail.com
Mon Nov 4 08:56:28 UTC 2019
On Fri, Nov 1, 2019 at 1:15 PM Ján Tomko <jtomko at redhat.com> wrote:
>
> Introduce a new 'virtio-fs' driver type for filesystem.
>
> <filesystem type='mount' accessmode='passthrough'>
> <driver type='virtio-fs'/>
> <source dir='/path'/>
> <target dir='/path'/>
What happens with the target dir?
virtio-fs has no way to pass the target dir into the guest.
Out-of-band methods exist: qemu-guest-agent could be used to mount the
file system. Another approach is to add a uevent to the virtiofs.ko
guest driver and let udev configuration decide what to do (e.g.
automount under /run/media/virtio-fs/$TAG or similar).
Stefan
More information about the libvir-list
mailing list