Bug 1865823

Summary: [virtio-win][viofs] Failed to open shared file system in Windows x86 guest.
Product: Red Hat Enterprise Linux 8 Reporter: xiagao
Component: virtio-winAssignee: Gal Hammer <ghammer>
virtio-win sub component: virtio-win-prewhql QA Contact: xiagao
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: ailan, mdean, menli, vrozenfe
Version: 8.3Keywords: TestBlocker
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 04:17:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virtio-fs logs none

Description xiagao 2020-08-04 09:41:24 UTC
Created attachment 1710299 [details]
virtio-fs logs

Description of problem:
as $subject

Version-Release number of selected component (if applicable):

qemu-kvm-5.0.0-2.module+el8.3.0+7379+0505d6ca 
kernel-4.18.0-227.el8.x86_64
seabios-1.13.0-1.scrmod+el8.3.0+7493+a5e196a4.x86_64
virtio-win-prewhql-186


How reproducible:
100%

Steps to Reproduce:
1. start virtiofsd daemon on host
#/usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu2 -o source=/home/virtiofs_test3 -o cache=none -d

2. boot up win832 guest with virtiofs device.
-m 4096 \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm112,share=on \
-numa node,memdev=mem \
-chardev socket,id=char0,path=/tmp/vhostqemu2 \
-device vhost-user-fs-pci,chardev=char0,tag=myfs2,bus=pci.7 \

3. install winfsp tool and virtiofs driver in guest
4. copy winfsp-x86.dll(winfsp program provided) and virtiofs.exe to the same dir
5. run virtiofs.exe in the dir.
virtiofs.exe -d -1 -D -
6. open computer in guest and see a new virtioFS(z:) volume is shown.
7. try to open z:\

Actual results:
failed to open z:\
error: 
Z:\ refers to a location that is unavailable

Expected results:
Can open the shared file system and do write/read operation

Additional info:
Update viriofsd debug log, event viewer log and virtiofs.exe debug log in attachment.

Comment 4 xiagao 2020-08-06 03:22:26 UTC
win8.1-32 and win10-32 also hit this issue.

Comment 5 xiagao 2020-08-07 06:47:08 UTC
Test virtio-win-prewhql-188 version on Win832,win8.1-32,win10-32,win2019, can open the shared file.

So verify this bug.

Comment 9 errata-xmlrpc 2020-11-04 04:17:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virtio-win bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4840