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