[Virtio-fs] VirtIOFS Service stop working on Windows guest when reading file from shared directory

Xiaoling Gao xiagao at redhat.com
Mon Mar 28 10:38:59 UTC 2022


MkfsSion <mkfssion at mkfssion.com> 于2022年3月27日周日 15:54写道:

> Hello everyone,
>         I encountered an issue when using VirtIOFS on Windows guest. Once
> I
> read files on guest, the VirtIOFS service stopped suddenly. I followed the
> instruction on https://virtio-fs.gitlab.io/howto-windows.html site. The
> following is the information about my setup.
>         virtiofsd version:
>                 mkfssion at MkfsSion-LPC ~ [1]> /usr/lib/qemu/virtiofsd -V
>                 virtiofsd version 6.2.0
>                 Copyright (c) 2003-2021 Fabrice Bellard and the QEMU
> Project developers
>                 using FUSE kernel interface version 7.33
>
>         Linux version:
>                 Linux MkfsSion-LPC 5.10.108-1-lts510 #1 SMP Wed, 23 Mar
> 2022 09:50:53 +0000 x86_64 GNU/Linux
>
>         Windows guest:
>                 Version Windows 10 Enterprise LTSC
>                 Version Number  21H2
>                 OS Internal Version     19044.1586
>                 Experience      Windows Feature Experience Pack
> 120.2212.4170.0
>
>         VirtIODriver: virtio-win-0.1.215
>
>         Error code shown in Windows Explorer: 0x800703E3
>
>         Debug log from VirtIOFS service after appending -d -1 -D C:
> \virtiofs.log parameter: https://fars.ee/D0sr
>
>         Host FS: btrfs
>
>         libvirt xml:
>                 ...
>                 <memoryBacking>
>                         <hugepages/>
>                         <source type="memfd"/>
>                         <access mode="shared"/>
>                 </memoryBacking>
>                 ...
>                 <filesystem type="mount" accessmode="passthrough">
>                 <driver type="virtiofs"/>
>

Could you have a try with  <driver type='virtiofs' queue='1024'/> ?


>                 <binary path="/usr/lib/qemu/virtiofsd"/>
>                 <source dir="/var/lib/libvirt/share"/>
>                 <target dir="share"/>
>                 <alias name="fs0"/>
>                 <address type="pci" domain="0x0000" bus="0x0a"
> slot="0x00" function="0x0"/>
>                 </filesystem>
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs at redhat.com
> https://listman.redhat.com/mailman/listinfo/virtio-fs
>


-- 
BR,
Xiaoling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20220328/e8f4ddc1/attachment.htm>


More information about the Virtio-fs mailing list