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.
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
Does virtiofsd adapt fuse version now?
(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.