Bug 1131 - [ANCK 4.19] virtiofsd prompt "fuse: Unsupported protocol version: 7.27".
Summary: [ANCK 4.19] virtiofsd prompt "fuse: Unsupported protocol version: 7.27".
Status: CONFIRMED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: fs (show other bugs) fs
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jingbo Xu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-06 17:10 UTC by 苟浩
Modified: 2022-12-14 10:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 苟浩 uniontech_group 2022-05-06 17:10:03 UTC
Description of problem:

Host using /usr/libexec/virtiofsd of qemu-6.2.0,
and guest mount virtiofs filesystem, the host virtiofsd will
prompt "fuse: Unsupported protocol version: 7.27".

The current version of kernel-fuse code is 7.31,
but the FUSE_KERNEL_MINOR_VERSION is still 27, caused the above error.
How reproducible:


Steps to Reproduce:
1.start virtiofsd: /usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu -o source=/tmp/shared -o cache=always
2.start guest and mount virtiofs

Actual results:
host virtiofsd prompt "fuse: Unsupported protocol version: 7.27".

Expected results:
vrtiofs successfully mounted in guest.
Comment 1 Jingbo Xu alibaba_cloud_group 2022-08-29 10:02:44 UTC
We can loose the limitation on the virtiofsd side:

https://gitee.com/src-anolis-os/qemu-kvm/commit/b354dd48fdcd9dbcb5f35c9c984f667edf149329


And there's a built binary virtiofsd for reference ("/usr/libexec/virtiofsd" in qemu-kvm-common rpm package):

http://koji.openanolis.cn/buildinfo?buildID=20635
Comment 2 Joseph Qi alibaba_cloud_group 2022-12-14 09:52:00 UTC
Does virtiofsd adapt fuse version now?
Comment 3 Jingbo Xu alibaba_cloud_group 2022-12-14 10:14:01 UTC
(In reply to josephqi from comment #2)
> Does virtiofsd adapt fuse version now?

The virtiofsd in qemu-kvm.rpm in an8.6 (http://koji.openanolis.cn/buildinfo?buildID=20635) supports ANCK 4.19, while the mainline virtiofsd still can't work on ANCK 4.19 since the version constraint.