File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,11 @@ def _prepare_for_shared_folder(self):
210
210
# https://lore.kernel.org/[email protected] /
211
211
#
212
212
# The standalone Rust implementation is preferred now, which should be
213
- # available in PATH. If it is not available, see if there is a C
214
- # implementation available in QEMU's prefix.
215
- if not (virtiofsd := shutil .which ('virtiofsd' )):
213
+ # available in PATH or at '/usr/lib/virtiofsd', in the case of Arch
214
+ # Linux. If it is not available, see if there is a C implementation
215
+ # available in QEMU's prefix.
216
+ if not ((virtiofsd := shutil .which ('virtiofsd' )) or
217
+ (virtiofsd := Path ('/usr/lib/virtiofsd' )).exists ()):
216
218
utils .yellow (
217
219
'Could not find Rust implementation of virtiofsd (https://gitlab.com/virtio-fs/virtiofsd), searching for old C implementation...'
218
220
)
You can’t perform that action at this time.
0 commit comments