All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] VirtIOFS Service stop working on Windows guest when reading file from shared directory
@ 2022-03-27  7:48 MkfsSion
  2022-03-28 10:38 ` Xiaoling Gao
  0 siblings, 1 reply; 2+ messages in thread
From: MkfsSion @ 2022-03-27  7:48 UTC (permalink / raw)
  To: virtio-fs

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

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>

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Virtio-fs] VirtIOFS Service stop working on Windows guest when reading file from shared directory
  2022-03-27  7:48 [Virtio-fs] VirtIOFS Service stop working on Windows guest when reading file from shared directory MkfsSion
@ 2022-03-28 10:38 ` Xiaoling Gao
  0 siblings, 0 replies; 2+ messages in thread
From: Xiaoling Gao @ 2022-03-28 10:38 UTC (permalink / raw)
  To: MkfsSion; +Cc: virtio-fs

[-- Attachment #1: Type: text/plain, Size: 2342 bytes --]

MkfsSion <mkfssion@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@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@redhat.com
> https://listman.redhat.com/mailman/listinfo/virtio-fs
>


-- 
BR,
Xiaoling

[-- Attachment #2: Type: text/html, Size: 3837 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-28 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-27  7:48 [Virtio-fs] VirtIOFS Service stop working on Windows guest when reading file from shared directory MkfsSion
2022-03-28 10:38 ` Xiaoling Gao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.