-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abi: Disable unsupported flags and functionality on MacOS #162
Conversation
I could also add the MacFUSE specific flags to this PR if you want them. |
oh, that's a lot of |
@bergwolf That is really up to you. If you want it split I will split it. |
@griff Please help to split it, thanks! I think it makes the code more clear. |
It would better to split for archs. |
MacFUSE is a fork of FUSE version 19 with its own custom flags that sometimes clash with later versions of FUSE. E.g. INIT_EXT flags clashes with MacFUSE flag VOL_RENAME. So to avoid confussion this change splits fuse_abi into fuse_abi_linux and fuse_abi_macos and hopefully disables all functionality not supported on MacOS. This applies both to MacFUSE and FUSE-T because FUSE-T is built to be compatible with MacFUSE and not upstream FUSE. Signed-off-by: Brian Olsen <[email protected]>
Done |
Clean up code related to macos. Follow up of cloud-hypervisor#162 Signed-off-by: Jiang Liu <[email protected]>
Clean up code related to macos. Follow up of cloud-hypervisor#162 Signed-off-by: Jiang Liu <[email protected]>
Clean up code related to macos. Follow up of cloud-hypervisor#162 Signed-off-by: Jiang Liu <[email protected]>
Clean up code related to macos. Follow up of #162 Signed-off-by: Jiang Liu <[email protected]>
The fix mentioned in Cargo.toml did land in cloud-hypervisor/fuse-backend-rs#162. Change-Id: I4451f910806f05400f7e0f83581ae786f170b9e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10375 Autosubmit: flokli <[email protected]> Tested-by: BuildkiteCI Reviewed-by: raitobezarius <[email protected]>
MacFUSE is a fork of FUSE version 19 with its own custom flags that sometimes clash with later versions of FUSE. E.g. INIT_EXT flags clashes with MacFUSE flag VOL_RENAME.
So to avoid confussion this change disables all flags and hopefully all functionality not supported on MacOS. This applies both to MacFUSE and FUSE-T because FUSE-T is built to be compatible with MacFUSE and not upstream FUSE.