Skip to contentSkip to conversation

VirtIOFS Service stop working on Windows guest when reading file from shared directory

Virtio-fs MkfsSion 2 participants 2 messages Mar 27, 2022 – Mar 28, 2022

lore
Share & tools
lore

MkfsSion

author
#0 lore raw

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@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"/>
<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>

#1 lore raw
Quoted 31 lines · MkfsSion <[email protected]> 于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@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

Quoted 13 lines
        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'/> ?

Quoted 12 lines
                <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
[email protected]
https://listman.redhat.com/mailman/listinfo/virtio-fs

Signature · 2 lines
BR,
Xiaoling